home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: The Best of Public Domain / Best of Public Domain, The Nr.53 (19xx)(Garfield, Andi)(DE).zip / Best of Public Domain, The Nr.53 (19xx)(Garfield, Andi)(DE).adf / CBBS.MANUAL next >
Text File  |  1990-01-24  |  125KB  |  3,496 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                           ***************************
  18.                           ***  THE C-BBS MAILBOX  ***
  19.                           ***    Version 6.0      ***
  20.                           ***************************
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.       1.  Getting Started, What to look for
  31.       2.  The Configuration File
  32.       3.  The Forward File
  33.       4.  Commands (user and sysop)
  34.       5.  Prtlog, Printer, and Files used
  35.       6.  Log, List, and Distributation Files
  36.       7.  Protocols (bid's, zip's, sid's, sending)
  37.       8.  Desqview operation
  38.       9.  Modem usage
  39.       10. Restoring the mail file, Mail format, Listing messages
  40.       11. Archiving messages
  41.  
  42.       Appendix A. Changes.mb
  43.       Appendix B. Config.mb
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.                       INTRODUCTION AND PURPOSE
  82.  
  83.     This is the documentation  for the  C-BBS Mailbox system.   It  is
  84.     based on code originally  written by  Hank Oredson.   It is  being
  85.     continued by a small  group of packet  programmers so that  sysops
  86.     will have the source  code available.   The purpose  is simply  to
  87.     allow sysops to  use, learn,  and understand  the "C"  programming
  88.     lauguage and it's use in running  the C-BBS Mailbox system.   This
  89.     way the code can be customized to suit sysop needs.  Also, as bugs
  90.     are found, it allows the sysop to  search the source code for  the
  91.     necessary corrections. The use of any module or  section  of  code
  92.     for any distribution beyond the  C-BBS mailbox is prohibited.  All
  93.     the modules are copyrighted by the  CBBS GROUP.  It may  be copied
  94.     for non-commerical  use  as  long  as  all  copyright  notices are
  95.     included.
  96.  
  97.     Be forewarned that only the RELEASE versions of this software will
  98.     be supported.  Bug reports and enhancements are appreciated.  This
  99.     is a group  effort  and  as  such,  more  time  is  available  for
  100.     comments.
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. Chapter 1 ------------------ GETTING STARTED ------------------------- Page 1
  134.  
  135.        ************************************************************
  136.        ***  C-BBS MailBox and GateWay   Version 6.0 - 1/15/89   ***
  137.        ************************************************************
  138.  
  139. A: [CBBS-6.0-H$]
  140.  
  141.      This code was initially created for packet community by:
  142.  
  143.           Hank Oredson, W0RLI
  144.  
  145.     Hank, however, no longer supports the  CBBS code.  He is  allowing
  146.     it to  be  developed  by  others  interested  in  furthering  this
  147.     version.  He is developing a new code that is not associated  with
  148.     this CBBS program.  Dave, VE3GYQ had released version 4.4 of  this
  149.     code and K3RLI  and AG3F  have released versions  4.6 and  beyond.
  150.     This is the latest version.
  151.  
  152.     You may obtain versions of the code in several ways.
  153.  
  154.      1. Download from Compuserve HamNet or
  155.  
  156.      2. Send a diskette mailer to
  157.   
  158.         Edward T. Picchetti, K3RLI     Joseph P. Lagermasini, AG3F
  159.         355 Ridge Road                 206 Wilmot Drive
  160.         Wilkes-Barre, Pa. 18702        Towanda, Pa. 18848
  161.  
  162.  
  163.     A special thanks to those who send little chunks of code with bug
  164.     fixes or new  features.
  165.  
  166.     Thanks also to VE3GYQ for the GateWay code, AA4RE and WA7MBL  for
  167.     the IBM port drivers.
  168.  
  169.     The code will run  under DOS  for for single  user application  or
  170.     under DESQview for multiple  user applications.   DoubleDos is  no
  171.     longer supported for multiple  user setups.   Under DESQview  100k
  172.     window size  is required  unless the  bbs dos  command feature  is
  173.     desired then 150k window  size is  necessary.  A  640k pc/xt  will
  174.     support   3   windows   without    the   dos   command    feature.
  175.  
  176.     This version of  the  code represents  a significant  change  from
  177.     previous issues.   The   method  of  handling  the  mailfile   and
  178.     individual message files is all new and the communication  between
  179.     copies of the BBS is  now done  without the need  for the  "pipe".
  180.     These changes result in  the ability to  reconstruct the  mailfile
  181.     from the individual messages thus providing security from  crashes
  182.     and failures.  The use of mailfiles  and user files common to  all
  183.     copies provides many conveniences.
  184.  
  185.  
  186.     Please read  the following  documentation  to get  things  set  up
  187.     properly.  This code will not run using previously successful file
  188.     and directories.  Appendix A  will  give  more  detail  as to  the
  189.     revisions from previous versions of the code.
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199. Chapter 1 ---------------- GETTING STARTED --------------------------- Page 2
  200.  
  201.  
  202. B: CODE DISTRIBUTION
  203.  
  204.     The code as distributed is broken  down into sections so that  you
  205.     can select the areas  that you  need for your  requirements.   For
  206.     normal operation of the bbs the modules RUNxx.ARC and IOxx.ARC are
  207.     all that are necessary.  The other modules provide the source code
  208.     for those interested  in  making their  own modifications  to  the
  209.     code.  All  modules, both  run  and source,  are provided  in  ARC
  210.     format and must be uncompressed by use of PKXARC.
  211.  
  212. C: WORKING WITH THE SOURCE CODE
  213.  
  214.     It is expected the those  using the provided sources are  familiar
  215.     with "C" language, 8088 assembler  notation and the  manuipulating
  216.     of compilers, assemblers and linker.
  217.  
  218.     All developement work has been done with the Microsoft C  compiler
  219.     version 4.10.  Some Microsoft specific library functions are used,
  220.     these functions should exist  with  any C  compiler.   The  names,
  221.     arguments, and required header files for these functions might  be
  222.     different with other compilers.  All  of these differences  should
  223.     appear in the module MBIBM.C.   The Microsoft  C compiler  version
  224.     5.01 has also been used successfully but the distributed code  was
  225.     produced with version 4.10.  Turbo  C and Quick  C have also  been
  226.     used by others with good success  after some syntax  modification.
  227.  
  228.     File MB.BLD has been  provided to utilize  the Microsoft  MAKE.EXE
  229.     file maintance utility to compile, assemble  and link the  various
  230.     modules that make up the bbs code.  It is recommended that this be
  231.     utilize but CC.BAT has also been supplied to permit compiling of a
  232.     single module and  LINK.MB is  provided to work  with LINK.EXE  to
  233.     form the entire linked package.
  234.  
  235.     Microsoft MASM  versions 4.0  and  higher have  been  utilized  to
  236.     assemble the I/O and other modules that require it.
  237.  
  238. D: USING THE RUN CODE
  239.  
  240.     The following  steps will  be required  to get  the bbs  operating
  241.     using the provided run  code.   Please notice that  you have  many
  242.     options for configuring the hardware and  software.  The  examples
  243.     shown are only illustrative and are not the only way to do this.
  244.  
  245.  1: Extract the files from the ARC files if this has not already  been
  246.     done.  This is accomplished  by using the  command PKARC -x  RUN51
  247.     for the run files and PKARC -x  IO51 for the  I/O routines.   This
  248.     will produce numerous files from which you will select only a  few
  249.     depending upon your desired system configuration.  PKXARC can also
  250.     be used for this  task and  is faster  if you  have it  available.
  251.  
  252.  2: Decide how your system will be configured.  How many tncs will you
  253.     have? Will the tncs be arranged so  that each can be connected  to
  254.     independantly of the others or when one is in use will the  others
  255.     be unavailable for a connect or  is a combination of both  methods
  256.     desired? As an example we  can have  3 tncs,  A, B, and C.  If  we
  257.     decide that only one tnc at a time is to be connected, then we can
  258.     configure to run under DOS without multi- tasking enviornment.  If
  259.     we would prefer  all tncs  to operate independantly  then we  must
  260.     configure for DESQview and  provide 3 windows,  one for each  tnc.
  261.  
  262.  
  263.  
  264.  
  265. Chapter 1 ---------------- GETTING STARTED --------------------------- Page 3
  266.  
  267.  
  268.     We can also decide to have tnc A be  independant and B and C  work
  269.     as a pair.  This arangement requires 2 DESQview windows with tnc A
  270.     operating from one and tncs B  and C operating  out of the  other.
  271.     This setup  will permit  connects  on tnc  A  and either  B  or  C
  272.     simultaneously.  Many  other combinations  are possible  depending
  273.     upon the number of tncs, serial ports  and system memory.  In  any
  274.     case, decide upon this arangement now.
  275.  
  276.  3: Setup a directory structure based upon your system  configuration.
  277.     This is  discussed   in  more  detail   in  another  section   but
  278.     essentially you must have the following files included:
  279.  
  280.     mb.exe
  281.     bios.com based upon the number of tncs(eg. br3bios.com for 3 ports)
  282.     mbmode.exe
  283.     hand.com
  284.     share.exe  **
  285.     config.mb for each window (eg. config.a, config.b, etc)
  286.     mail.dat & user.dat (Converted files from older version)
  287.     fwd.mb
  288.     info.mb
  289.     help.mb
  290.     user.mb
  291.     mon.mb for each window (Created by the mailbox)
  292.     log.mb for each window (Created by the mailbox)
  293.     calls.mb for each window (Created by the mailbox)
  294.  
  295.     A typical setup for the example above would be the following
  296.     directories and their files:
  297.  
  298.     \mb                     \mb\bbs                      \mb\msgs
  299.     mb.exe                  mail.dat
  300.     mbmode.exe              user.dat                        all
  301.     br3bios.com             info.mb                      message
  302.     config.a                help.mb                        text
  303.     config.bc               fwd.mb                         files
  304.     hand.com                mon.a
  305.     share.exe               mon.bc                       mbrestm.exe
  306.                             calls.a
  307.                             calls.bc
  308.                             log.a
  309.                             log.bc
  310.  
  311.     ** share.exe is on your dos distribution disk for dos 3.0+
  312.  
  313.  4: Prepare the configuration or configurations based upon the desired
  314.     system setup.  Detail of how to do this follows in another section
  315.     but make sure the file specification section of the configurations
  316.     follows the directory structure  decided upon above  and the  port
  317.     section also follows the system setup.
  318.  
  319.  5: Setup the directory structure and  copy the proper files to  these
  320.     locations.  If  you are  a new  user  only the  files in  the  \mb
  321.     directory and info.mb  and help.mb  in \mb\bbs  will be  required.
  322.     The bbs program will create the necessary other files.  For  those
  323.     of you with operating older versions of the code, the mail,  user,
  324.     fwd, log, msg, etc files should be copied to the proper  directory
  325.     and renamed if necessary.  Even if there are no message files,  as
  326.     in the case of a new  user, make sure  the \mb\msgs directory  has
  327.     been created.
  328.  
  329.  
  330.  
  331. Chapter 1 ----------------- GETTING STARTED -------------------------- Page 4
  332.  
  333.  
  334.  6: Prepare a suitable batch file to initialze the serial port(s)  and
  335.     bring up the bbs.  A possible  file for a single window  operation
  336.     might be for the example of 3 tncs:
  337.  
  338.     TIMER -> Your time and date program.         CONFIG.SYS
  339.     BR3BIOS                                        FILES = 20
  340.     MBMODE COM1:4800,N,8,1                         BUFFERS = 20
  341.     MBMODE COM2:4800,N,8,1
  342.     MBMODE COM3:4800,N,8,1
  343.     CD \MB
  344.     MB
  345.  
  346.     An example of this file when used with the 2 window example above:
  347.  
  348.     TIMER -> Your time and date program.         CONFIG.SYS
  349.     BR3BIOS                                        FILES = 30
  350.     MBMODE COM1:4800,N,8,1                         BUFFERS = 20
  351.     MBMODE COM2:4800,N,8,1
  352.     MBMODE COM3:4800,N,8,1
  353.     HAND
  354.     SHARE
  355.     CD \DV
  356.     DV
  357.  
  358.     These batch  files  can  exist  independantly  and  be  called  by
  359.     AUTOEXEC.BAT or can be made part of AUTOEXEC.BAT.  In either  case
  360.     the bbs will reboot upon power  outages.  If  this is not  desired
  361.     keep this batch file independant of AUTOEXEC.BAT.
  362.     The cable between the tnc  and computer should have pins  2,3,4,5,
  363.     6,7,8, and 20 connected.   Hardware flow control  is used in  both
  364.     directions.  Configure the TNC's using the appropriate .SET  file,
  365.     TNC1.SET for a tnc1, TNC2.SET for  a tnc2, PK232.SET for a  pk232.
  366.     The parameters differ depending on the type of tnc you are  using.
  367.     
  368.  8: If you are not using DESQview and  are using only a single  window
  369.     disregard the rest of this section.  Add a copy of the mb  program
  370.     for each window used.  This is done with the AP selection from the
  371.     open window menu.  Enter  the path, program  name and  parameters,
  372.     plus set correctly all of the options on both normal and  advanced
  373.     options.  See the section  on use of  DESQview for those  details.
  374.     In addition in the advanced menu set the window heigth, width, row
  375.     and column  to place  the bbs  copy in  the desired  place on  the
  376.     screen.  For a 1 or  2 window  system the defaults  are ok  (split
  377.     screen) but for more than 2 copies consideration must be given  to
  378.     this.  For the 2 window 3 tnc example of above the main AP entries
  379.     are:
  380.  
  381.     window 1
  382.     Program name   <A--145.01>
  383.     Key  M1          Memory size  150
  384.     Program  MB
  385.     Parameters  config.a
  386.     Directory   C:\MB
  387.  
  388.     window 2
  389.     Program name   <BC--145.07, 221.11>
  390.     Key  M2          Memory size  150
  391.     Program  MB
  392.     Parameters  config.bc
  393.     Directory   C:\MB
  394.  
  395.  
  396.  
  397. Chapter 1 ----------------- GETTING STARTED -------------------------- Page 5
  398.  
  399.     Prepare the DESQview startup script file  and place it in the  \DV
  400.     directory.  This  file  is desqview.dvs  and  should  contain  the
  401.     proper  scripts  to  open  the  number  of  windows  used  by  the
  402.     configuration.  The section describing the use of DESQview  covers
  403.     this technique.  In our example above for the 2 windows the script
  404.     should open M1 pause 30 and then open M2 before finishing.
  405.  
  406. 10: Convert the  mailfile  and message  files  if you  have  an  older
  407.     version running.  If you are a 1st  time user this section can  be
  408.     bypasssed.  This  represents  the  most  significant  change  from
  409.     version  4.6  of  the  code  and  should  be  followed  carefully.
  410.  
  411.     If you are now running  a version  prior to 4.0  you must  convert
  412.     your  existing  message  and  user  files  to  version  4  format.
  413.       First, backup all files in the directory used by the MailBox. In
  414.     case something goes wrong, you will be able to restore  everything
  415.     to where it was without loss of messages.
  416.  
  417.     The conversion  from earlier  versions  to version  4 is  done  by
  418.     MBCONV.  Set the default directory to the directory containing the
  419.     MAIL.DAT and USER.DAT files.  Then run MBCONV.
  420.       If you are running a version prior to  3.0 you  must first  make
  421.     certain that the message text has been moved to individual  files.
  422.     Do this by executing the GF command.
  423.  
  424.     ** FOR VER 4.6 **** and prior converted versions do the following:
  425.  
  426.       From the operating bbs DO a GM and then quit the board. Now  the
  427.     final conversion to the new format can be performed.  This version
  428.     of the CBBS  code requires  that the individual  message files  be
  429.     converted to a new format.  The program MBCONVM.EXE is provided to
  430.     do this conversion.
  431.       The program expects the mailfile, MAIL.DAT to exist in directory
  432.     \mb\bbs and that  the  individual message  files be  in  directory
  433.     \mb\msgs.
  434.  
  435.     Copy MBCONVM.EXE into the \mb\msgs directory  and then invoke  the
  436.     program by typing MBCONVM <return>.   This program  will read  the
  437.     MAIL.DAT file and the  corresponding message files  and produce  a
  438.     converted MAIL.DAT as  well  as converted  message  files.    When
  439.     completed the new MAIL.DAT  will reside in  \mb\bbs directory  and
  440.     the modified message files in \mb\msgs as was the case previously.
  441.       If MAIL.DAT wasn't found in \mb\bbs the program will ask for the
  442.     directory containing MAIL.DAT.   You  can then  enter  the  proper
  443.     directory name.  The program will procede  with the conversion  if
  444.     it does find  MAIL.DAT.    If  it  does  not  it  will  abort  the
  445.     conversion and report that it could not find the file.  You should
  446.     check the directory setup  and the location  of MAIL.DAT and  then
  447.     start the conversion  again using the  invocation MBCONVM  \xx\sss
  448.     where \xx\sss  is  the  actual  directory  location  of  MAIL.DAT.
  449.  
  450.     If the mail file had already been converted the program will abort
  451.     the conversion and report accordingly.
  452.  
  453. 11: All should be  ready  now.   Either  reboot the  computer  if  the
  454.     startup batch file  is associated  with autoexec.bat  or type  the
  455.     name of the batch file.
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463. Chapter 1 ---------------- WHAT TO LOOK FOR -------------------------- Page 6
  464. (BBS LOADING)
  465.  
  466.  When you load the bbs program your screen should look something like this:
  467.  
  468.        TNC commands on                                TNC commands off
  469.  
  470.  <A>   Window 1 portflag 1                            <- same
  471.  <B>   C                                              aAbB for two ports
  472.  <B>   Link state is DISCONNECTED
  473.  <B>   cmd:
  474.  <C>   XX calls in \mb\bbs\CALLS.MB                   <- same
  475.  <D>   XX users in \mb\bbs\USER.DAT                   <- same
  476.  <E>   There is XXXXX free space, XXXXX will be used. <- same
  477.  <F>   Set for DESQview.
  478.  <G>   m on
  479.  <G>   MONITOR was off                                 ABABAB
  480.  <G>   cmd:cono on
  481.  <G>   CONOK was off
  482.  <G>   cmd:
  483.  
  484.  
  485.      <A> This line is used by the handshaking program to detect ports
  486.          active, and total ports used by the bbs. If you are using  a
  487.          single bbs, it is not necessary.
  488.      <B> This takes a tnc state, and insures the tnc is  disconnected.
  489.          A line appears for each port used by the bbs.
  490.      <C> This line indicates the number of calls in the CALLS.MB  file
  491.          up to the max listed in the config. When you hit the  maximum
  492.          it will also say (file is full).
  493.      <D> This line indicates the number of users in USER.DAT
  494.      <E> Tells the amount of free space of memory, and the  amount  to
  495.          be used by the mailbox. If you are using DESQview, you  might
  496.          want to adjust the window size to not waste memory space.
  497.      <F> Only shows up if you are set for DESQview in the config.mb If
  498.          this line shows up and you are not using DESQview, change the
  499.          DESQview line in the config to OFF.
  500.      <G> Shows the monitor and conok being turned on to allow monitor-
  501.          ing and connects for each port used by the bbs.
  502.  
  503.     NOTES:
  504.     <B><G> If you have the port configuration line  in  the  config.mb
  505.            set with a '3' ( don't monitor tnc commands )  in it, these
  506.            lines will only show as a lower or upper case letter.
  507.            If you hang at this point, your tnc is not setup right,  or
  508.            your cable is not connected properly. You  need  at  least,
  509.            ECHO OFF, MONITOR OFF, AUTOLF OFF, AWLEN 8,and PARITY 0 set
  510.            into the tnc.
  511.     <E>    If you display "Too little memory available." You need more
  512.            memory. Add in 4k increments to window.
  513.  
  514.     At this point  the  bbs  is  active, and  ready  for  connects  or
  515.     monitoring the frequency.  You can  now hit a  ^E (control E)  and
  516.     log onto the bbs.  the bbs will turn off the monitor and turn  off
  517.     conok in the tnc and show you the sysop prompt.
  518.  
  519.     880711/0350, 1011, 100 msgs>
  520.  
  521.     You are now ready to enter any commands. The prompt line shows you
  522.     the DATE/TIME,  the  highest  message  number,  and  the number of
  523.     messages on the bbs if you use the one in the sample config.
  524.  
  525.  
  526.  
  527.  
  528.  
  529. Chapter 2 ---------------- CONFIGURATION FILE ------------------------ Page 1
  530.  
  531.  
  532.                   ********************************
  533.                   ***  The Configuration File. ***
  534.                   ********************************
  535.  
  536.     The file CONFIG.MB is a text file that contains all  site-specific
  537.     parameters.  Edit it to have the proper parameters for your  site.
  538.     
  539.     The form $x is a variable text field.  The "$x" is replaced by the
  540.     current value for that text. These variables can be used  anywhere
  541.     in the configuration file.
  542.  
  543.      $A - @ BBS of the current message.
  544.      $B - Type of current message.
  545.      $C - Next available message number.
  546.      $D - The current date.
  547.      $E - The message title (used for RFC822 headers)
  548.      $F - Name of "other port", as used in the M, U, and C commands.
  549.      $G - TO of the current message.
  550.      $H - Hang at end of line (suppress carriage return).
  551.           Use at end of line only. DO NOT USE on lines that go to tnc.
  552.      $I - Users name, from user file.
  553.      $J - Date from current msg header
  554.      $K - Time from current msg header.
  555.      $L - Number of the last message.
  556.      $M - Message number from current msg header.
  557.      $N - Number of active messages.
  558.      $O - Sysops callsign.
  559.      $P - FROM from current msg header.
  560.      $Q - Sysops QTH
  561.      $R - Call in a "connect request:" from either TNC.
  562.      $S - Call of the end node station connected via the slave TNC.
  563.           Seen initially in "*** CONNECTED to:" when the adjacent node
  564.           connects, may be seen in "*** LINKED to:" from the adjacent node.
  565.      $T - The current time.
  566.      $U - User callsign.
  567.      $V - Display the software version.
  568.      $W - Name of the "other user" in GateWay mode. (See $F and $S).
  569.      $X - Date user last logged in.
  570.      $Y - Time user last logged in.
  571.      $Z - Last message number when user last logged in.
  572.      $a - BBS of origination of message.
  573.      $j - Date message was entered at originating BBS.
  574.      $h - Hierarchical forwarding list.
  575.      $k - Time message was entered at originating BBS.
  576.      $m - Message number at originating BBS.
  577.  
  578.                      *************************
  579.                      ***  CONFIG.MB  LINES ***
  580.                      *************************
  581.               *** LOOK at the sample in Appendix B ***
  582.  
  583.  
  584. The first section (to the first *** EOF) is the port configuration info.
  585. Two lines per port.
  586. The first line contains the port definition, the second line the port name.
  587. The port definition line is made of several fields, seperated by spaces:
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595. Chapter 2 ------------------ CONFIGURATION FILE ---------------------- Page 2
  596. (Continued)
  597.  
  598. Field 1:
  599.   The first character is the Port ID,
  600.   the second and following characters give information about the port:
  601.  
  602.     B - BBS only may connect.
  603.     C - This port is the local console.
  604.     D - File download allowed from this port.
  605.     E - This port requires echo. (True only for the console.)
  606.     G - GateWay use is allowed to this port.
  607.     I - Kick off user that connects using illegal call.
  608.     L - This port requires LF after CR.
  609.     M - Monitoring is allowed to this port.
  610.     R - Remote sysop allowed on this port (if user marked as sysop).
  611.     S - This is a raw serial port (another system or a terminal).
  612.     T - This port has a TNC with TAPR commands connected.
  613.     U - File upload allowed from this port.
  614.     X - TNC can use transparent mode for connects.
  615.     1 - Echo monitored packets to the console.
  616.     2 - Echo user data and forwarding to the console.
  617.     3 - Echo TNC commands to the console.
  618.  
  619. Field 2: Connect timeout, in seconds.
  620. Field 3: Disconnect timeout, in seconds.
  621. Field 4: Monitor timeout, in seconds.
  622. Field 5: Max lines allowed in monitor.
  623. Field 6: Number of entries retained in J list.
  624. Field 7: Number of digipeaters allowed on connect.
  625. Field 8: Minute of the hour to attempt forwarding.
  626. Field 9: Number of command errors allowed before user kicked off.
  627. Field10: Seconds to wait in forward when a timeout occurs before continuing.
  628.  
  629. The second section (to the second *** EOF) is directory path definitions.
  630.   Three lines per path.
  631.  
  632.   The first line is a single character path ID,
  633.   followed by "D" if downloading is allowed, and "U" if uploading is allowed.
  634.   The second line is the path, with trailing '\'.
  635.   The third line is the name of the path, as shown to the user.
  636.  
  637. The third section (to the third *** EOF) is the "@ BBS" translation list.
  638.   Each line has two fields, the first is the @ BBS as received,
  639.   the second is what to translate it to.
  640.   For example; to remove your own call from the @ BBS field of all messages,
  641.   simply include one line with just your call on it.
  642.  
  643. The fourth section (to the fourth *** EOF) is the "hold calls" list.
  644.   Any message entered TO, FROM, or AT one of these calls will
  645.   be held (not forwarded) until the status is changed to N by the sysop.
  646.  
  647. The fifth section (to the fifth *** EOF) is the login message.
  648.   Keep it short. Maximum is 255 characters.
  649.  
  650. The next line is the "bbs and expert user" prompt. Keep it SHORT!
  651. The next line is the remote sysop prompt. Keep it SHORT!
  652. The next line is the normal MailBox prompt.
  653. The next line is your call.
  654. The next line is your QTH.
  655. The next line is the call of your local WP server. (Place a blank line
  656.                   ( here if you do not wish to generate updates to WP.)
  657.  
  658.  
  659.  
  660.  
  661. Chapter 2 ------------------ CONFIGURATION FILE ---------------------- Page 3
  662. (Continued)
  663.  
  664.  
  665. The next line is the file name to use for the help (H) text.
  666. The next line is the file name to use for the info (I) text.
  667. The next line is the file name to use for the auto-forwarding file.
  668. The next line is the file name to use for the log file for each window.
  669. The next line is the file name to use for the "J" list file for each window.
  670. The next line is the file name to use for the mail file.
  671. The next line is the file name to use for the mail backup file.
  672. The next line is the file name to use for the user file.
  673. The next line is the file name to use for the user backup file.
  674. The next line is the directory to put the message files in.
  675. The next line is the file name to use for the BID file.
  676. The next line is the file to put monitored calls into for each window.
  677.  
  678. The next line is the maximum number of monitored calls to save.
  679. YES xx Where xx is the time to compress the mail file.
  680. YES Using DesqView. NO to NOT give idle time.
  681.  
  682. The next 3 lines control prompting for user information.
  683. YES to prompt user to enter his name.
  684. YES to prompt user to enter his home MailBox.
  685. YES to prompt user to enter his ZIP or postal code.
  686.  
  687. The next five lines control logging. (what goes into LOG.MB).
  688. YES to turn on logging. Only connects/disconnects are logged.
  689. YES to turn on GateWay event logging.
  690. YES to turn on file transfer logging.
  691. YES to turn on message event logging.
  692. YES to turn on logging of local commands.
  693.  
  694. The control character to use to kick user off system.
  695. The control character to use to return from talk.
  696. The control character to use to interrupt and go to talk.
  697. The control character to use to take the MailBox off-line.
  698.  
  699. Prompt before continue at end of page of output.
  700.  
  701. The next line is sent to the console each time a prompt is sent to the user.
  702. The next line is sent to the user when a connect request occurs.
  703.  
  704. The next line is the message to send when
  705. you break into a MailBox session to talk to the user.
  706.  
  707. The next line is the response to the user when he wants to talk to you.
  708.  
  709. The next line is the message to send when
  710. you are not available to talk to the user.
  711.  
  712. The next line is the message to the console when the user wants
  713. to talk to you.
  714.  
  715. The next section, one line per message, is the GateWay messages:
  716. Message when GateWay not available.
  717. Message going into unproto mode.
  718. Message when attempting a connect.
  719. Message when connect fails.
  720. Message to master tnc when connect succeeds.
  721. Message when connect attempt aborted by user.
  722. Message to send to master when entering monitor mode.
  723.  
  724.  
  725.  
  726.  
  727. Chapter 2 ------------------ CONFIGURATION FILE ---------------------- Page 4
  728. (Continued)
  729.  
  730. The next section, one line per message, is the message and file prompts.
  731. Prompt for title of message.
  732. Prompt for message text.
  733. Message to send at login if user has new mail.
  734. Message list header. Observe columns if you change.
  735. Line to pre-pend to a forwarded message.
  736. Message to send to console when untangle and file empty.
  737. Message to send to console when starting an untangle.
  738. Message to send as each msg deleted with KM.
  739. Prompt to edit TO.
  740. Prompt to edit AT BBS.
  741. Prompt to edit TITLE.
  742. Prompt to edit TYPE.
  743. "This message is not NTS traffic".
  744. Max # of calls in BT "unread mail" list. (Use 1 for no beacon.)
  745. Max # of calls in forwarding "unread mail" list.
  746. YES to enable auto-kill of normal messages after auto-forward.
  747.      (NO leaves the message with status set to 'F').
  748. YES to enable auto-kill of "F" & "B" type messages after auto-forward.
  749. YES to generate a service message on KT.
  750. YES to enable the ET command.
  751. Number of days old a bulletin is when it is called old.
  752. Number of days old an NTS message is when it is called old.
  753. Number of days old a user message is when it is called old.
  754. Prompt for file text.
  755. Default user name.
  756. Message when compress user file.
  757. Header for list of user records.
  758. Prompt to delete user record.
  759. The next section, one line per message, is the error/status messages:
  760. Reminder to user that he has not entered his name.
  761. Reminder to user that he has not entered his home MailBox.
  762. Reminder to user that he has not entered his ZIP or postal code.
  763.  
  764. Message for I/O error.
  765. Message for "can't find it".
  766. Message for protection violation (tried to read private msg etc.).
  767. Message for "file exists, and you can't erase it".
  768. Message for timout.
  769. Message for "I didn't understand the command you gave".
  770. Message for done (command completed).
  771. Message for "There ain't no such port".
  772. Message for "There ain't no such directory".
  773. Message for "No such file."
  774. Message for "No such message."
  775. Message for "Port is in use."
  776. Password ( 64 characters for remote sysop use )
  777.  
  778. NOTES
  779. -----
  780. FIRST SECTION --  PORT PARAMETERS - a space defines fields.
  781.                    The console must be the last configuration line.
  782. Field 1:
  783.     Any number of characters  can  be used.   Certain  characters  are
  784.     necessary, such as 'T' for tnc ports, 'C' and 'E' for the  console
  785.     port.  'B', 'D', 'U', 'G',  'I', 'L', 'M',  and 'R' are  optional.
  786.     The '1,2,3' are  used for  display purposes, and  control what  is
  787.     echo'd to the screen.   IF  you are using  DESQview, TNC  commands
  788.     should be  turned off  to speed  up the  display, therefore  there
  789.     should be no '3' in the line.
  790.  
  791.  
  792.  
  793. Chapter 2 ------------------ CONFIGURATION FILE ---------------------- Page 5
  794. (Field 1 Continued)
  795.  
  796.     The 'R' must be in  the line if the  PORT is to  used by a  remote
  797.     sysop.  Additionally a remote sysop must be designated in the user
  798.     file.   The  'S'  is  used  for  a  serial  port-modem  operation.
  799.     Auto-answer must be set in the  modem, and  the user  signs on  by
  800.     typing '*** Connected to <user call>. (See Chapter 9)
  801.  
  802. Field 2:
  803.     The timeout for the  bbs waiting  for a  response from  a user  or
  804.     another bbs.  It should be  long enough to handle mail  forwarding
  805.     thru net/rom's to receive the  other bbs's prompt after a  message
  806.     is sent.
  807.  
  808. Field 3:
  809.     The timeout to wait after a disconnect has been issued to the  tnc,
  810.     and the bbs going back on-line.
  811.  
  812. Field 4:
  813.     The amount of time to spend in the Gateway while monitoring another
  814.     port.
  815.  
  816. Field 5:
  817.     The maximum amount of lines monitored while in the Gateway.
  818.  
  819. Field 6:
  820.     The number of calls shown in the  'J' lists.(Must be at least 1)
  821.  
  822. Field 7:
  823.     The maximum number of digipeaters that a user can use for  connects
  824.     to the bbs. This only applies for users and not for bbs's & sysop's
  825.     marked in the user file.
  826.  
  827. Field 8:
  828.     The minute of the hour to start forwarding. It is also  the  minute
  829.     that an auto-compress (GM) will take place. This should be slightly
  830.     different between windows for smooth DESQview operation.
  831.  
  832. Field 9:
  833.     The number of errors that a user can make before the bbs disconnects
  834.     him. (i.e. Number of *** WHATS?)
  835.  
  836. Field 10:
  837.     The number of seconds for the bbs to wait when forwarding to a  bbs
  838.     and your disconnected, and then start to forward  to  another  bbs.
  839.     Allows the tnc to dump all of the data that it has loaded into it.
  840.  
  841.  
  842.               *****************************************
  843.               *** ALTERNATE DISPLAY OF TNC COMMANDS ***
  844.               *****************************************
  845.  
  846.     If you leave out the 3 in the port configuration in config.mb, you
  847.     will not see the tnc commands on the  bbs.  What  you will see  is
  848.     the PORT Configuration LETTER (a,b,c) of where the tnc command  is
  849.     going.  If the tnc accepts the command  it will be in upper  case;
  850.     if not it will be  in lower  case.   This is  useful when  running
  851.     multiple copies of  the bbs  under desqview, as it speeds  up  the
  852.     screen display, and makes things work faster.
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859. Chapter 2 ----------------- CONFIGURATION FILE ----------------------- Page 6
  860. (Continued)
  861.  
  862.  
  863. THE THIRD SECTION --  @BBS TRANSLATION LIST
  864.  
  865.     The @ bbs translation list a list of calls to be translated by the
  866.     bbs whenever a message is entered.  This will happen if a user  is
  867.     entering a message or you are being forwarded a message by another
  868.     bbs.
  869.  
  870.     K3RLI            ---> K3RLI is changed to spaces.
  871.     PAWEST  NEPBBS   ---> PAWEST is changed to NEPBBS.
  872.     RT2N    NEPBBS   ---> RT2N is changed to NEPBBS.
  873.     ALLPA   NEPBBS   ---> ALLPA is changed to NEPBBS.
  874.     K3AAA   AG3F     ---> K3AAA is changed to AG3F.
  875.     98*     AG3F     ---> Zip 98xxx is changed to AG3F.
  876.     *** EOF
  877.  
  878.  
  879.     You can make the list as long as  you want, and include wild  card
  880.     matching.  What happens  is that  the @BBS field  is changed  from
  881.     whatever is in the first field to whatever is in the second field.
  882.     This  can  be  helpful  in  redirecting  certain  bulletins  to  a
  883.     distribution list.  In the example above, PAWEST, RT2N, and  ALLPA
  884.     are all changed to  NEPBBS when  the message is  received, and  if
  885.     NEPBBS was a distribution list,  then ALL PAWEST, RT2N, and  ALLPA
  886.     would follow that distribution.
  887.  
  888.     By having your call changed to spaces will allow the bbs to  strip
  889.     off your call  in  the  @BBS  field  and  then  have  the  message
  890.     forwarded to the TO field if it is in your forward file.
  891.  
  892.  
  893. THE FOURTH SECTION -- HOLD CALLS LIST
  894.  
  895.     This section is  a list  of calls  or  just the  word hold.    Any
  896.     message entered on the bbs with one of these calls will be  marked
  897.     with a status of 'H'.   Sysop intervention  is necessary to  clear
  898.     this message  with the  edit  message command  to remove  the  'H'
  899.     status.
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 1
  926.  
  927.  
  928.      Automatic forwarding of messages to other MailBox systems.
  929.  
  930.     The file  FWD.MB contains  information that  drives the  automatic
  931.     forwarding of messages.  If the file does not exist, no forwarding
  932.     is done.
  933.     The file contains several kinds of information:
  934.  
  935.     1) Command scripts.
  936.  
  937.     Command scripts are supported through C, S, and R items.
  938.     The command script precedes the F or G list that uses it.
  939.  
  940.     A C item gives the connect string to send to the local TNC:
  941.     CC W6AMT
  942.  
  943.     An S item is a line to send:
  944.     SC W6AMT-3
  945.  
  946.     An R item is a match for a partial expected response:
  947.     RW6AMT} Connected to W6AMT-3 ---> It can be whole line or
  948.     RConn                        ---> a partial response.
  949.  
  950.     In the case that ANY response is valid use:
  951.     R!
  952.  
  953.     There can only be one C item in a script, but may be as many R and
  954.     S items as are required.  As an  example, the script for W0RLI  in
  955.     Santa Cruz using NET/ROM to connect  with KA6IQA in San Diego  is:
  956.  
  957.     CC W6AMT                       (This connects me to the local PAD)
  958.     SC W6AMT-3                     (Connects to the PAD closest to KA6IQA)
  959.     RConn                          (Expected partial PAD response)
  960.     SC W6AMT-4                     (Connects to next PAD)
  961.     RConn                          (Expected partial PAD response)
  962.     SC KA6IQA                      (This connects me to KA6IQA)
  963.     RConn                          (Expected partial PAD response)
  964.     GF0023C KA6IQA                 (Forward mail to KA6IQA from 00 to 23)
  965.     KA6IQA                         (The usual forwarding list)
  966.     K6AMT
  967.     W6ICU
  968.     *** EOF                        (End of list marker, MUST be all CAPS)
  969.  
  970.     2) Routing lists.
  971.  
  972.     E, F, G, and H lists  are lists  of stations for  whom you  should
  973.     forward mail.  They  are grouped  by the  call of  the MailBox  to
  974.     which the messages  will be  forwarded.   Each list  has a  header
  975.     line, any number of callsigns or sublists, and the list terminator
  976.     ("*** EOF").
  977.     A "G" list is used to do conventional forwarding.  All BBS systems
  978.     will respond correctly if you use a "G" list.  An "F" list is used
  979.     when the system you will connect  to supports reverse  forwarding.
  980.     If you do not wish to use reverse forwarding simply always use "G"
  981.     An "H" list acts the same as an "F" list.  except that the connect
  982.     and probe for reverse  forwarding will  occur even if  you do  not
  983.     have any messages to forward.  A  "E" list acts  like a "G"  list,
  984.     except the forwarding  is not  done, the  list is  only used  when
  985.     someone requests reverse forwarding.
  986.  
  987.  
  988.  
  989.  
  990.  
  991. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 2
  992. (Continued)
  993.  
  994.     The header of each list looks like:
  995.     Columns     Data
  996.     1         "E", "F", "G", or "H"
  997.     2         Port identifier. "A" = COM1, "B" = COM2, etc.
  998.     3-4       Hour to activate forwarding to this station.
  999.     5-6       Hour to de-activate forwading to this station.
  1000.     7-end     Callsign of the MailBox to forward to.
  1001.  
  1002.     Forwarding will  occur  at  the  minute  given  for  the  port  in
  1003.     CONFIG.MB, on those hours given in FWD.MB.
  1004.  
  1005.     3) TNC paramter changes.
  1006.     "P" lists are commands to be sent to the TNC.  The character after
  1007.     the P is which port ("A" for COM1, etc.).  The list is  terminated
  1008.     with "*** EOF".  One of these lists might preceed each "G" list to
  1009.     set the TNC parameters to be used for the forward attempt.   There
  1010.     should be a "P" list at the end  of the FWD.MB  file to reset  TNC
  1011.     parameters back to default.   Example follows:
  1012.  
  1013.     PA0004
  1014.     retry 3
  1015.     frack 7
  1016.     *** EOF
  1017.     PA0523
  1018.     retry 5
  1019.     frack 9
  1020.     *** EOF
  1021.  
  1022.     4) DOS commands.
  1023.     A "!" list is a list of DOS commands.   It acts  very much like  a
  1024.     .BAT file.  The second character of the list header must be a port
  1025.     that exists or the commands  are not  executed.  This  is done  so
  1026.     that a single FWD.MB may be used by several copies of the  MailBox
  1027.     running under DESQview.  The  commands  will only  be executed  by
  1028.     the copy that owns the port.   The  time window is  honored.   All
  1029.     files used by the  MailBox are "cleaned"  before the DOS  commands
  1030.     are executed.   Be  very  careful  what  commands  you  use  here;
  1031.     anything that might CHANGE one  of the files  used by the  MailBox
  1032.     will cause TROUBLE! You must also  run the MailBox in a  partition
  1033.     large enough to allow for COMMAND.COM (25k) plus whatever commands
  1034.     you run.   This feature  is  useful, for  example, to  backup  the
  1035.     MailBox files from RAM disk to hard disk or floppy once each hour.
  1036.  
  1037.     EXAMPLE:   !A0023  -----------------> Do dos shell command 00-23
  1038.                COPY \MB\BBS\FWD.MB A: --> Dos Command Line
  1039.                *** EOF -----------------> EOF line
  1040.  
  1041.                Copies FWD.MB to the A drive every forward.
  1042.  
  1043.     5) Bulletin distribution lists.
  1044.     If a  message  has  a destination  MailBox  specified,  then  that
  1045.     designator may also be used  as the name  of a distribution  list.
  1046.     When the message is entered, the messages directory path (normally
  1047.     \mb\msgs\) is checked  for  a  file  with the  same  name  as  the
  1048.     designator and an extension of .DIS.   If the file is found,  then
  1049.     the messge will be forwarded too ALL the destinations found in the
  1050.     file.  One destination   per  line.    16  destinations   maximum.
  1051.     As an  example,  for  my  local  sub-net  distribution  I  have  a
  1052.     designator NCNET (Northern California Net),  and a file  NCNET.DIS
  1053.     containing:
  1054.  
  1055.  
  1056.  
  1057. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 3
  1058. NCNET.DIS (Continued)
  1059.                       KB6IRS
  1060.                       N6IYA
  1061.                       N6IIU
  1062.     A message sent as:  SB ALL @ NCNET
  1063.     Will be forwarded to all three of the stations in the NCNET.DIS file.
  1064.  
  1065.     The message is not forwarded in any special order, if a station is
  1066.     busy  then   the  MailBox   will   try  again   the   next   hour.
  1067.  
  1068.     An "L ;" listing of a message  with a distribution list shows  the
  1069.     status of forwarding to each station on a second "cc:" line.   The
  1070.     calls to which the message have been sent have an asterisk  before
  1071.     them.
  1072.  
  1073.     6) Wildcards.
  1074.     When the designator in FWD.MB is compared to the TO or @ BBS call,
  1075.     the characters  "?" and  "*" appearing  in the  designator act  as
  1076.     wildcards.  "?" will  match   any  character.    "*"  causes   the
  1077.     remaining characters to match.
  1078.     FOR EXAMPLE: Using ZIP code  routing, to route all South  Carolina
  1079.     NTS traffic to wa4szk, you would put "NTS4*" or "4*".  Any message
  1080.     sent to a destination starting with  "NTS4" or "4" would route  to
  1081.     wa4szk.  wa4szk  could  then continue  the  routing  breakdown  by
  1082.     forwarding "NTS41*" or "41*" to one station, "NTS42*" or "42*"  to
  1083.     another, etc.
  1084.  
  1085.     7) Sublists.
  1086.  
  1087.     At any place in the FWD.MB file you can refer to another file.  In
  1088.     effect what  happens  is that  the  contents of  the  sublist  are
  1089.     treated exactly as if they were in the FWD.MB file.  This  feature
  1090.     is very useful when you  have several alternate  paths to a  given
  1091.     location.  FWD.MB need  only contain the  connect information  for
  1092.     the different paths.  You can refer to a single file that contains
  1093.     the list of  calls for  forward.   A sublist  is given  by a  line
  1094.     starting with "@".  The rest of the line is the device, path,  and
  1095.     file name of the sublist.
  1096.  
  1097.     Example:
  1098.  
  1099.                        GC0023C N4CHV
  1100.                        N4CHV
  1101.                        N7FSP
  1102.                        @C:\MB\BBS\HF111.FWD
  1103.                        @C:\MB\BBS\SILICON.FWD
  1104.                        *** EOF
  1105.                        GD0023C W6AMT
  1106.                        @C:\MB\BBS\SILICON.FWD
  1107.                        *** EOF
  1108.  
  1109.      Sublists can now use a time window just  like  a  routing  list.
  1110.  
  1111.      EXAMPLE:  @ 0221C:\MB\BBS\SPECIAL.FWD
  1112.  
  1113.      The space after the '@' specifys that this is a  timed  sublist.
  1114.      The 0221 is the start and end of the time window. So SPECIAL.FWD
  1115.      ( in this example ) will only be checked from 02 to 21  for  any
  1116.      calls. At any other time this file will be bypassed.
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 4
  1124. FWD.MB (Continued)
  1125.  
  1126.      The following is an example of a few lines of the  FORWARD file:
  1127.  
  1128.      (Forward to K1BC every hour)
  1129.      GA0023C K1BC VIA KD2S-1 <Function, port ID, Time, MailBox, path>
  1130.      W1XR    <Call of station whose mail should be forwarded>
  1131.      N1AWX
  1132.      K1BC
  1133.      *** EOF          <Marks the end of list>
  1134.      PB1023        <Set TNC params for next connection>
  1135.      FRACK 6
  1136.      MAXFRAME 2
  1137.      *** EOF
  1138.  
  1139.      (Forward to K7PYK only from 1200 to 0259 GMT)
  1140.      GB1202C K7PYK     <The next MailBox to forward to>
  1141.      K7PYK
  1142.      W7KB
  1143.      *** EOF
  1144.      PB1023              <Set TNC params back to normal>
  1145.      FRACK 4
  1146.      MAXFRAME 4
  1147.      *** EOF
  1148.  
  1149.     There is no limit to the number of lists or the number of calls in
  1150.     each list.  Your MailBox will do  the connect and send the  messge
  1151.     onward.  It will  either delete  it  or mark  it with  'F'  status
  1152.     depending on the setting of the YES/NO (Kill on forward) flags  in
  1153.     CONFIG.MB.  Auto forwarding is attempted each  hour at the  minute
  1154.     specified in  CONFIG.MB,  or  when  you use  the  "X"  menu  item.
  1155.  
  1156.     The special  call "*"  (a  single *)  can  be used  to  force  the
  1157.     forwarding of all mail not  addressed to the  system owner.   This
  1158.     could be used by someone who would like to run this software,  but
  1159.     would not like to maintain an active MailBox.  They would get  all
  1160.     their own mail locally, but  any mail deposited onto their  system
  1161.     would be automatically forwarded.
  1162.  
  1163.     The forwarding of messages counts on  the remote MailBox  behaving
  1164.     correctly.  It must have a menu with  '>' at the  end of the  last
  1165.     line.  The command  for sending  messages must have  the form  "Sx
  1166.     call".  It  must prompt  for message  title, and  then prompt  for
  1167.     message text.  Message text is terminated by ^Z.
  1168.  
  1169.  
  1170.  
  1171.                        *** TRANSPARENT MODE ***
  1172.  
  1173.     You can now use transparent mode for all connects and  for  reverse
  1174.     forwarding. This will do two things.First it will stop the inbedded
  1175.     *** CONNECT REQUESTS from appearing in messages on your bbs. Second
  1176.     you will now be able to setup your tnc parameters so that users can
  1177.     get information off the bbs faster. Like setting MAXFRAME = 4,  and
  1178.     PACLEN = 128, will allow the tnc to send out 512 bytes  at  a  time
  1179.     when a user is using the bbs.
  1180.     Regular forwarding will still take place in converse mode.  If  you
  1181.     want to block forward, then you can setup 'P' type commands in  the
  1182.     forward file.
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189. Chapter 3 ------------------- FORWARD FILE -------------------------- Page 5
  1190. Transparent mode (Continued)
  1191.  
  1192.     Set things up at the beginning of the forward file.
  1193.  
  1194.          PA0024    Out to the A tnc.
  1195.          MAX 2     Maxframe of 2.
  1196.          FRAC 6    Frack of 6.
  1197.          CP ON     {               }
  1198.          CR OFF    { block forward }
  1199.          SE $10    {               }
  1200.  
  1201.     Then restore things back to normal  at the end of the forward file.
  1202.  
  1203.          PA0024    Out the A tnc.
  1204.          MAX 4     Maxframe back to 4
  1205.          FRAC 4    Frack back to 4
  1206.          CP OFF
  1207.          CR ON
  1208.          SE $0D
  1209.  
  1210.     It is important that you use the BRBIOS with transparent  mode.  It
  1211.     incorporates the send break command for the tnc. Also  important is
  1212.     that you have the DCD line (pin 8 ) connected between the  tnc  and
  1213.     the comm port. The TNC must change this line when it gets connected.
  1214.     Otherwise, you will lock up the bbs. Note: TNC1's must be  modified
  1215.     for the DCD line. MBBIOS should also work.
  1216.  
  1217.                        *** FORWARD FILE ***
  1218.  
  1219.     If using multiple windows, you can use different Forward files with
  1220.     each window, or you can use one master forward  file.  If  you  are
  1221.     using different forward files for each window, you must  name  them
  1222.     differently in each config. (Example - FWD.A, FWD.B, ect) Otherwise
  1223.     FWD.MB can be used for all windows and all config's.
  1224.  
  1225.     The forward minute should also be  different  between  windows  for
  1226.     best operation. A one or two minute  difference  between  ports  in
  1227.     different windows works out nicely, and allows the display  to  run
  1228.     smoothly.
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255. Chapter 3 ----------------- FORWARD FILE ---------------------------- Page 6
  1256.  
  1257.  
  1258.                        HIERARCHICAL FOWARDING
  1259.  
  1260.     Version 6.0  of  the code  now  supports  hierarchical  fowarding.
  1261.     Hierarchical fowarding was introduced to  the packet bbs  networks
  1262.     in the RLI code and in the recently distributed  4RE program.  The
  1263.     method used by the CBBS should be compatable with these programs.
  1264.     
  1265.     Hierarchical fowarding is a method by which the @ bbs field of the
  1266.     message address  may contain  information beyond  the 6  character
  1267.     call sign or route designation that is  now commonly used.  The  @
  1268.     bbs field may  be expanded  to 64  characters containing  numerous
  1269.     fields separated  by   periods.     A  typical   field  might   be
  1270.     AG3F.PA.USA.NA indicating  station AG3F  is located  in state  PA,
  1271.     country USA  and  continent   NA  (North  America).     The   only
  1272.     limitations to  this is  that  the 64  character total  cannot  be
  1273.     exceeded and the section of  the field prior  to the first  period
  1274.     must not  exceed  6 characters  in  order to  be  compatable  with
  1275.     existing bbs's.
  1276.  
  1277.     The actual convention for naming the  sub fields (hierarchies)  in
  1278.     the @ bbs  field has  not  been firmly  established but  N6VV  has
  1279.     proposed a  system of  hierarchies  which has  been adopted  as  a
  1280.     pseudo standard by many stations. This we attach for information.
  1281.     
  1282.     In the method chosen to implement hierarchical fowarding, the CBBS
  1283.     is able to receive extended @ bbs  fields from a  local user or  a
  1284.     fowarding bbs  by the  addition of  the extra  information to  the
  1285.     S(end) line.  A typical line could  be  SP AG3F @ AG3F.PA.USA.NA <
  1286.     K3RLI $1234_BID  which  will be recognized  as "standard"  in  all
  1287.     respects except for the field following the @.  It should be noted
  1288.     that the normal @ field is still  acceptable since it is a  subset
  1289.     of the larger field.
  1290.  
  1291.     During the fowarding process the 6.0 bbs will transmit the full  @
  1292.     field only to stations that request it.  This request must come in
  1293.     the form of a sid that contains  the letter H  in the last  field.
  1294.     The CBBS requests this by transmitting [CBBS-6.0-H$].  The RLI and
  1295.     4RE programs do similiar with their  sid's.  Stations that do  not
  1296.     have the H in their sid will receive  the truncated form of the  @
  1297.     field containing only the normal 6 character call field.
  1298.  
  1299.     The foward  file still  retains its  original format  but now  can
  1300.     contain entries that match the  various sub fields in the  routing
  1301.     lists to fully utilize the hierarchical feature.   In the  example
  1302.     above if we were to route  that message normally, AG3F would  have
  1303.     to appear in a routing section.  Now AG3F or  PA or USA or NA  can
  1304.     be inserted in to the lists and  the bbs will  now match these  to
  1305.     those contained in  the  message and  foward  accordingly.    This
  1306.     permits rather long lists of calls  to be replaced with a  general
  1307.     hierarchial designator in the foward file.   Additionally, a  user
  1308.     can assist the bbs sysop by appending the state designator to  the
  1309.     bbs field.  This would assure fowarding in particular in the  case
  1310.     of a new bbs not present in  the user  file.  @  W6XYZ.CA will  be
  1311.     fowarded but @ W6XYZ may or may not depending upon if W6XYZ was in
  1312.     the foward file.  If multiple  matches are possible in the  foward
  1313.     file, the first one found is used.   This means generally that  if
  1314.     the call is found it is used followed by the state, country, etc.
  1315.     
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321. Chapter 3 ----------------- FORWARD FILE ---------------------------- Page 7
  1322. (Hierarchical Forwarding)
  1323.  
  1324.  
  1325.     An example of a routing list might be:
  1326.  
  1327.           FA0023C K3RLI V K3RLI-2
  1328.           K3RLI
  1329.           WA3EBG
  1330.           .
  1331.           .
  1332.           188*
  1333.           187*
  1334.           PA
  1335.           MD
  1336.           WV
  1337.           NJ
  1338.           CAN
  1339.           SA
  1340.           .
  1341.           .
  1342.           NTSNY
  1343.           NTSVA
  1344.           *** EOF
  1345.  
  1346.     Note sections of the  hierarchical list are  inserted only,  never
  1347.     anything containing a period. PA.USA is not acceptable!
  1348.  
  1349.     This fowarding method will only  become a very valuable tool  when
  1350.     more stations employ the  software that utilizes  it and when  the
  1351.     system users, the originators of the messages, start to insert the
  1352.     hierarchical information.  Now, any bbs not utilizing this  system
  1353.     breaks the chain and the hierarchial data is lost.  Hopefully  all
  1354.     of the software writers will  incorporate this into their code  in
  1355.     the near furure.  For now it can assist in the routing of  locally
  1356.     originated traffic.
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387. Chapter 4 ------------------ COMMANDS -------------------------------- Page 1
  1388.  
  1389.  
  1390. *******************************
  1391. *** @ REMOTE SYSOP Password ***
  1392. *******************************
  1393.  
  1394.   SYSOP only Command:
  1395.  
  1396.     The last  line  of  the  config.mb  must  contain  a  line  of  64
  1397.     characters.  This can be a  sentence or just 64 ascii  characters.
  1398.     Upper or lower case  can be  used and is  considered as  different
  1399.     characters.
  1400.     EXAMPLE:
  1401.  
  1402.     NowisthetimeFORallgoodpacketeerstocometotheaidoftheirparty.T
  1403.  
  1404.     When a remote sysop sends a "@" to the bbs the bbs will prompt the
  1405.     remote sysop with 4 numbers..  The four numbers will correspond to
  1406.     the positions of the characters in the key.  The remote sysop will
  1407.     then reply with the 4  characters that correspond to the  relative
  1408.     positions in the key.
  1409.     EXAMPLE:
  1410.  
  1411.     BBS --- 4 16 23 64
  1412.  
  1413.     Remote Sysop enters: iapT  and hits <cr>.
  1414.  
  1415.     He will then be allowed entry as a remote sysop..
  1416.  
  1417. *********************
  1418. *** ! DOS Command ***
  1419. *********************
  1420.  
  1421.   SYSOP only Command:
  1422.  
  1423.     This ! command allows the use of the dos shell.  You can do almost
  1424.     any dos command, as long as you  don't disturb any of the  mailbox
  1425.     dat files.
  1426.  
  1427.   SYNTAX - ! COPY A:TEXT.TXT C:\MB\PACKET
  1428.  
  1429.            Copies the file text.txt from the A drive to the C drive in
  1430.            the subdirectory packet.
  1431.  
  1432.     This command can also be used in  the FWD file  to do Batch  files
  1433.     during a forward.
  1434.  
  1435. *****************
  1436. *** A Command ***
  1437. *****************
  1438.  
  1439.   SYSOP only Command:
  1440.  
  1441.     A  - Does an autoforward on all windows.
  1442.     AI - Does an autoforward on all windows ignoring the time.
  1443.  
  1444. *****************
  1445. *** B Command ***
  1446. *****************
  1447.  
  1448.              B <cr> -  Logs off the mailbox.
  1449.                        For a user, disconnecting does the same thing.
  1450.  
  1451.  
  1452.  
  1453. Chapter 4 ------------------ COMMANDS -------------------------------- Page 2
  1454.  
  1455.  
  1456.  
  1457. *****************
  1458. *** C Command ***
  1459. *****************
  1460.  
  1461.              C CALL  - Connects to user from path and port in the user file.
  1462.              Cp CALL - Connects to call using port p. Digipeater routing may
  1463.                        also be given.
  1464.  
  1465.                        EXAMPLES:  CA K3QFW V AK3P-5
  1466.                                   C AG3F
  1467.    SYSOP only Commands:
  1468.  
  1469.              CM CALL #### [@ BBS] [< CALL] - Copies message #### and makes
  1470.                                              new message addressed to CALL.
  1471.              C YYMMDD HHMM  -  Sets the clock.
  1472.  
  1473. *****************
  1474. *** D Command ***
  1475. *****************
  1476.  
  1477.    USER only Command:
  1478.  
  1479.              Dd Filename - Download a file from the mailbox.
  1480.                            'd' is the directory identifier.
  1481.  
  1482.    SYSOP only Commands:
  1483.  
  1484.              D C:\path\Filename - Downloads filename in drive C, with
  1485.                                   path to the console with pageing.
  1486.              DA C:\path\Filename - Downloads filename out the A port to
  1487.                                    the tnc. Continues till eof of file.
  1488.              DU - Lists all users.
  1489.              DM - Lists all users marked as bbs's.
  1490.              DS - Lists all sysops.
  1491.              DL - Lists all local users.
  1492.              DX - Lists all excluded users.
  1493.                   For the above commands if a filename is added as an
  1494.                   argument the list will be put into a ascii text file.
  1495.  
  1496.     DW Command - creates a WP message if any new users use the bbs.
  1497.                  Used by sysop when the bbs does not make up a message.
  1498.                  For this command to work, you must have a WP server
  1499.                  call in your config.
  1500.     SYNTAX - DW
  1501.              DW A - creats a WP message with all users.
  1502.  
  1503. *** White Pages ***
  1504.  
  1505.     As users check into your bbs, they will be automatically asked for
  1506.     their name and home bbs.  When  the user file  was updated to  the
  1507.     latest version on first starting the bbs, A new field was  created
  1508.     to note when a user  puts in his name  and home bbs.   It is  this
  1509.     field that will create a white  paper message to  whatever bbs  is
  1510.     keeping track of  calls and  homebbs's.   Here  is how  it  works.
  1511.     First in the config.mb there is a line for the WHITE PAGES  SERVER
  1512.     CALL.  If you leave this line  blank, no white paper message  will
  1513.     be generated.   This  line  is  located  under  your  QTH  in  the
  1514.     config.mb.
  1515.  
  1516.  
  1517.  
  1518.  
  1519. Chapter 4 ------------------- COMMANDS ------------------------------- Page 3
  1520. (White Pages Continued)
  1521.  
  1522.     If you put a bbs on this line, he will receive a message every  so
  1523.     often addressed to WP, from your bbs, @ WP Server Call, TITLE: "WP
  1524.     Update".  In the message text will be  a list of the latest  users
  1525.     using the bbs  for the  first time,  or updateing  their name  and
  1526.     homebbs.  So a central bbs or user can  now keep track of all  the
  1527.     users with their home  bbs's  for a  given  area.   Sort  of  like
  1528.     keeping a white pages telephone book with calls of packeteers  and
  1529.     their home bbs. Zip codes are now added.
  1530.  
  1531.  
  1532. *****************
  1533. *** E Command ***
  1534. *****************
  1535.  
  1536.     SYNTAX - ET <message number> - USED by ALL
  1537.  
  1538.     The ET command allows users to  edit Traffic messages on the  bbs.
  1539.     A  Traffic  message  is defined  as having  a TYPE of  "T" or  the
  1540.     letters "NTSxxx" in the TO field of a  message.  Any user can  use
  1541.     the ET command.  Probably it would be a good idea to let your  NTS
  1542.     users know of this feature, so that they could track your NTS type
  1543.     messages.
  1544.  
  1545.     EXAMPLE: Message 8873 is a Traffic message.
  1546.  
  1547.      ET 8873  <- Entered by user or sysop.
  1548.         BBS response:New TO or (cr) to retain:
  1549.      User responds with a new call or <cr>
  1550.         BBS response:New @ BBS or (cr) to retain:
  1551.      User responds with a new @ BBS or <cr>
  1552.         BBS response:New TITLE or  (cr) to retain:
  1553.      User responds with new title or <cr>
  1554.         BBS response:New TYPE or (cr) to retain:
  1555.      User responds with new type or (cr) to retain
  1556.         BBS will now respond with the edited message header.
  1557.  
  1558.     If you enter a message  number that wasn't  a traffic message  the
  1559.     bbs will respond with a  message: ***  Sorry, this is  not an  NTS
  1560.     traffic message.  If you change the type of message from a "T"  to
  1561.     something else, The message header  will be changed, and since  it
  1562.     will not fit the qualifiers of an  NTS message, you won't be  able
  1563.     to change it back!
  1564.  
  1565.    SYSOP only Commands:
  1566.  
  1567.     E #### - Edit message ####. This command looks for the message, and then
  1568.              displays the header from that message. Next comes the input
  1569.              prompt: t(Y)pe, (S)tatus, (T)o, (F)rom, (B)bs, t(I)tle, bi(D)
  1570.              To change:   The TYPE field ---- Y <type> <cr>
  1571.                           The STATUS field -- S <status> <cr>
  1572.                           The TO field ------ T <new to call> <cr>
  1573.                           The FROM field ---- F <new from call> <cr>
  1574.                           The @BBS field ---- B <new bbs call> <cr>
  1575.                           The TITLE field --- I <new title> <cr>
  1576.                           The BID field ----- D <new bid> <cr>
  1577.              To exit edit message, just hit a <cr> from the prompt.
  1578.  
  1579.     EP p - Edit port parameters. <p> is the port to edit.
  1580.     ES   - Edit system parameters.
  1581.     EU   - Sweep thru all users asking for Delete or Quit,
  1582.  
  1583.  
  1584.  
  1585. Chapter 4 ------------------- COMMANDS ------------------------------- Page 4
  1586. E COMMAND (Continued)
  1587.  
  1588.  
  1589.     EU CALL - Edit a user's record or create a new user record. This command
  1590.               will find a user's record or create a null  user's record, and
  1591.               then display a prompt line:
  1592.                 PRIVILEGE: (D)elete, (E)xpert, (B)bbs, (S)ysop, e(X)clude
  1593.                 DATA: (C)all, s(I)d, (N)ame, por(T), (H)ome, (Z)ip
  1594.  
  1595.               To delete a user: Type D <cr>
  1596.  
  1597.               To change:  Is an EXPERT ---- Type E <cr>
  1598.                           Is a BBS? ------- Tyoe B <cr>
  1599.                           Can be SYSOP ---- Type S <cr>
  1600.                           To EXCLUDE ------ Type X <cr>
  1601.                           New CALL -------- Type C <new call> <cr>
  1602.                           New SSID -------- Type I <new ssid> <cr>
  1603.                           New NAME -------- Type N <new name> <cr>
  1604.                           New PORT -------- Type T <new port> <cr>
  1605.                           New HOME BBS ---- Type H <home bbs> <cr>
  1606.                           New ZIP --------- Type Z <new zip> <cr>
  1607.               To exit edit user, just hit a <cr> from the prompt.
  1608.  
  1609. *****************
  1610. *** F Command ***
  1611. *****************
  1612.  
  1613.    SYSOP only Command:
  1614.  
  1615.      Fd ##### Filename [AN] - Make a file from a message. The 'd' determines
  1616.                               what subdirectory Filename go to. The A at the
  1617.                               end will append this message to the file. The
  1618.                               N at the end will NOT put the message header
  1619.                               into the file.
  1620.  
  1621.        EXAMPLES:   F 12340 A:text.txt - Makes file TEXT.TXT on the A drive
  1622.                                         from message 12340; Includes header.
  1623.  
  1624.                    FD 1200 amsat.010 - Makes file AMSAT.010 in subdirectory
  1625.                                        D from message 1200.
  1626.  
  1627.                    FD 1300 amsat.010 A - Appends message 1300 to file
  1628.                                          AMSAT.010 in subdirectory D.
  1629.  
  1630.                    F 12300 c:Save.txt N - Makes file SAVE.TXT on C drive
  1631.                                           with no header.
  1632.  
  1633. *****************
  1634. *** G Command ***
  1635. *****************
  1636.  
  1637.    SYSOP only Commands: Will LOCK up other windows using DESQview.
  1638.                         If other windows are busy, will not allow
  1639.                         any operation.
  1640.  
  1641.              GM - Untangles the mail file.
  1642.              GR <number> - Untangles the mail file and renumbers
  1643.                            starting at number.
  1644.              GU - Untangles the user file, deleteing marked users.
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651. Chapter 4 ------------------- COMMANDS ------------------------------- Page 5
  1652. ********************
  1653. *** HELP Command ***
  1654. ********************
  1655.  
  1656.              H   - Gives a summary of the help subsystem.
  1657.              H x - Gives a detailed explanation of command x.
  1658.              H ? - Gives a detailed explanation of all commands.
  1659.              ?   - Gaves a list of mailbox commands
  1660.              ? x - Gives a summary of command x.
  1661.              ? ? - Gives a summary of all mailbox commands.
  1662.  
  1663. ********************
  1664. *** INFO Command ***
  1665. ********************
  1666.  
  1667.              I - Reads out the INFO.MB file.
  1668.  
  1669. *****************
  1670. *** J Command ***
  1671. *****************
  1672.  
  1673.              Jp - Gives a list of stations heard on port 'p'.
  1674.                   The special port 'L' shows calls of stations
  1675.                   recently connected to the mailbox.
  1676.  
  1677. *****************
  1678. *** K Command ***
  1679. *****************
  1680.  
  1681.              K ##### - Kill message number #####.
  1682.              KM      - Kill messages addressed to you that have been read.
  1683.              KT #### - Kill traffic message and generate a service message.
  1684.  
  1685.    SYSOP only Commands:
  1686.  
  1687.              KF ------ Kill all forwarded messages.
  1688.              KO ------ Kill all stale messages.
  1689.              KY ------ Kills all messages that have been read.
  1690.              KF CALL - Kills all forwarded messages addressed to CALL.
  1691.              KY CALL - Kills all messages addressed to CALL that have
  1692.                        been read.
  1693.  
  1694. ********************
  1695. *** LIST COMMAND ***
  1696. ********************
  1697.  
  1698.              L ------- List all new messages since your last login.
  1699.              L #### -- List messages back to ####.
  1700.              LE ##  -- List last ## mail headers in MAIL file.
  1701.              LL ##  -- List last ## messages.
  1702.              L> CALL - List all mail TO Call.
  1703.              L< CALL - List all mail FROM Call.
  1704.              L@ CALL - List all mail @BBS Call.
  1705.              LA ------ List all type 'A' messages.
  1706.              LE ------ List all mail headers since your last login.
  1707.              LF ------ List all forwarded messages.
  1708.              LH ------ List all messages that are marked HOLD.
  1709.              LK ------ List all KILLED messages.
  1710.              LM ------ List all messages TO or FROM you.
  1711.              LO ------ List all stale messages.
  1712.              LU ------ List all unforwarded messages.
  1713.              LY ------ List all messages that have been read.
  1714.  
  1715.  
  1716.  
  1717. Chapter 4 ------------------- COMMANDS ------------------------------- Page 6
  1718. L COMMAND (Continued)
  1719.  
  1720.  
  1721.  
  1722.     If you add a ';' after your normal list command, you will be  able
  1723.     to see any cc: line or Hierarchical list and any bid line attached
  1724.     to a header. This will work with any  command.   Example  follows:
  1725.  
  1726.  
  1727.              LL 4    Will list the last 4 line.
  1728.  
  1729.       9989 PN  1247 KA3DWA WA3DQI        0109/1212 ARC NETWORK
  1730.       9986 AN   978 ALL    W1AW   PAWEST 0109/1034 ARRL 54: News
  1731.       9985 BN  2367 ALL    KC3BQ         0109/0956 Hamfest news
  1732.       9984 PN  1545 K3RLI  AG3F   N2EZG  0109/0945 TNC WORKS
  1733.  
  1734.               LL 4 ; List last 4 lines and  cc:, ef:, and bid: lines
  1735.  
  1736.       9989 PN  1247 KA3DWA WA3DQI        0109/1212 ARC NETWORK
  1737.       9986 AN   978 ALL    W1AW   PAWEST 0109/1034 ARRL 54: News
  1738.          cc: *WA3DQI AG3F HOLD
  1739.         BID: ARLP010
  1740.       9985 BN  2367 ALL    KC3BQ         0109/0956 Hamfest news
  1741.         BID: KC3BQ_7789
  1742.       9984 PN  1545 K3RLI  AG3F   N2EZG  0109/0945 TNC WORKS
  1743.          EF: N2EZG.NY.USA.NA
  1744.  
  1745.     This will work for all list commands.  Like LL 10 ; or L ; or LM ;
  1746.     or LA ; .  This command  is only available  for sysops and  allows
  1747.     you to  see  the messages  without  the clutter  of  extra  lines.
  1748.  
  1749.  
  1750. *****************
  1751. *** M Command ***
  1752. *****************
  1753.  
  1754.              Mp - Monitor the packets on port 'p'. You must have the
  1755.                   gateway enabled for the port.
  1756.  
  1757.    SYSOP only Command:
  1758.  
  1759.              MM <listfile> <textfile>
  1760.  
  1761.     The MM command does the same thing as the SM command but it uses a
  1762.     text file for the message content.
  1763.  
  1764.     EXAMPLE: MM LIST1 \mb\oscar\amsatnws.140
  1765.                  BBS response: Enter Title for Message:
  1766.              Sysop enters TITLE
  1767.  
  1768.     The bbs will now make  messages  for  each  call  in the list, but
  1769.     the message content will be from the file AMSATNWS.140.  Since the
  1770.     mail file in now in files and  not in a  database, you could  also
  1771.     use a message file instead of a text file for the message content.
  1772.     If  your  messages  are  stored  in  \mb\msgs\,  you  could  enter
  1773.     \mb\msgs\10491 to use  message  number 10491  for  your  textfile.
  1774.     This would take message number 10491 and use it's contents for all
  1775.     four message texts. ( See also Chapter 6 - List file )
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783. Chapter 4 ------------------- COMMANDS ------------------------------- Page 7
  1784.  
  1785.  
  1786. *****************
  1787. *** N Command ***
  1788. *****************
  1789.  
  1790.    USER only Commands:
  1791.  
  1792.              N NAME -- Enter your name into the user file.
  1793.              NE ------ Makes you an expert user.
  1794.              NH CALL - Enter home bbs into user file.
  1795.              NZ ZIP -- Enter zip code into the user file.
  1796.  
  1797.    SYSOP only Commands:
  1798.  
  1799.              N C:\path\FILENAME.OLD FILENAME.NEW
  1800.  
  1801.              Renames filename from old to new. Drive type need not be used
  1802.              unless using other than current drive. Path information is
  1803.              only necessary when going outside current directory.
  1804.  
  1805. *****************
  1806. *** P Command ***
  1807. *****************
  1808.  
  1809.              P Call - Lists information about user. Port connected,
  1810.                       name, path, last message number, home bbs.
  1811.  
  1812. ********************
  1813. *** QUIT Command ***
  1814. ********************
  1815.  
  1816.              Q - Quits the mailbox. Asks "Are you sure (Y/N)?
  1817.                  For local sysop only.
  1818.  
  1819. *****************
  1820. *** R Command ***
  1821. *****************
  1822.  
  1823.              R #### - Read message number ####.
  1824.              RH ### - Read message number ###, showing routing headers.
  1825.              RM ----- Read all unread messages addressed to you.
  1826.  
  1827.  
  1828. *****************
  1829. *** S Command ***
  1830. *****************
  1831.  
  1832.              Sx CALL @ BBS - Send type 'x' to call @ bbscall.
  1833.                              The mailbox will prompt you for title
  1834.                              and to enter subject. End message text
  1835.                              entry with a <ctrl z>, /ex, or /EX.
  1836.  
  1837.              If type 'x' is not entered, and the TO field is to a valid
  1838.              callsign, the type will become private.
  1839.              If type 'x' is 'A', 'B', 'F' and the  TO field is not a valid
  1840.              callsign, (ALL, ect) a BID will be created for the message.
  1841.  
  1842.              SB ALL @ BBS $ARLB010 - Creats a bulletin message to all at
  1843.                                      bbscall with BID of ARLB010.
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849. Chapter 4 ------------------- COMMANDS ------------------------------- Page 8
  1850.  
  1851.              SM <listfile> - Used by SYSOP
  1852.       For Example lets say that all these stations shared the same
  1853.       interests. a message could be made to send to all of them.
  1854.  
  1855.              SM LIST1  <- Entered by sysop
  1856.                 BBS response: Enter Title for Message:
  1857.              Sysop enters TITLE
  1858.                 BBS response: Enter message, ect...
  1859.              Sysop enters message, ending with a control Z...
  1860.  
  1861.       The bbs now will make the headers for each  call in the list.   In
  1862.       this Example you would end up with many message headers.  Each  as
  1863.       defined in the LIST1 file.   So many duplicate messages would  now
  1864.       be on the bbs.  Each will forward out as  if they were put on  the
  1865.       bbs individually. ( See Chapter 6 - List file )
  1866.  
  1867. *****************
  1868. *** T Command ***
  1869. *****************
  1870.  
  1871.    USER only Commands:
  1872.  
  1873.              T - Chat to the sysop. Any command or return before the
  1874.                  request times out will return you to the mailbox.
  1875.  
  1876.    SYSOP only Commands:
  1877.  
  1878.              Tp ---------- Go to terminal mode on port 'p'.
  1879.              Tp Filename - Go to terminal mode  on port 'p', and open
  1880.                            filename save file.
  1881. *****************
  1882. *** U Command ***
  1883. *****************
  1884.  
  1885.    USER only Commands:
  1886.  
  1887.              Ud Filename - Upload filename to subdirectory 'd'.
  1888.  
  1889.           EXAMPLE: UA AMSAT.011    You will be prompted to enter the file
  1890.                                    <ctrl z> to end.
  1891. *****************
  1892. *** V Command ***
  1893. *****************
  1894.  
  1895.              V  - Used by ALL
  1896.  
  1897.                Using the "V" command will cause the bbs to print out the
  1898.                current version of the mailbox code.
  1899.  
  1900.    SYSOP only Command:
  1901.  
  1902.              V A:text.txt C:\AMSAT\TEXT.TXT - Copies text.txt from drive
  1903.                         A to subdirectory AMSAT on drive C. You can rename
  1904. *****************       file on copy.
  1905. *** W Command ***
  1906. *****************
  1907.  
  1908.              W -------- Gives a list of subdirectory area's available
  1909.              Wd ------- Gives a list of the files in subdirectory 'd'.
  1910.              Wd *.DOC - Gives a list of *.DOC files in subdirectory 'd'.
  1911.                 (For sysop use, drive, path, and filespec can be used.)
  1912.  
  1913.  
  1914.  
  1915. Chapter 4 ------------------- COMMANDS ------------------------------- Page 9
  1916.  
  1917.  
  1918. *****************
  1919. *** X Command ***
  1920. *****************
  1921.  
  1922.    SYSOP only Commands:
  1923.  
  1924.              X ------- Trigger an auto-forward.
  1925.              XI ------ Auto-forward, ignore time window.
  1926.              X CALL -- Forward only for call.
  1927.              XI CALL - Forward only for call, ignore time window.
  1928.  
  1929.  
  1930. *****************
  1931. *** Y Command ***
  1932. *****************
  1933.  
  1934.    SYSOP only Command:
  1935.  
  1936.              YF - Displays present forward file name.
  1937.              YF Filename - Change name of forward file to use.
  1938.  
  1939. *****************
  1940. *** Z Command ***
  1941. *****************
  1942.  
  1943.    SYSOP only Commands:
  1944.  
  1945.              Z Filename - Delete the file.
  1946.              Zd Filename - Delete filename in subdirectory 'd'.
  1947.              Z \mb\bbs\FORWARD.MB - Deletes FORWARD.MB with path \mb\bbs.
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981. Chapter 5 ------------------ PRTLOG ---------------------------------- Page 1
  1982.  
  1983.  
  1984. ************************
  1985. *** PRINTER FUNCTION ***
  1986. ************************
  1987.  
  1988.     A print function is now in the software.   All you  have to do  is
  1989.     Hit control P from  the bbs  menu and everything  listed and  read
  1990.     will be printed out the parallel port.  Use control P to shut  the
  1991.     print off when done. Putting the bbs back on-line will  also  shut
  1992.     the print off.
  1993.  
  1994. ******************
  1995. ***** PRTLOG *****
  1996. ******************
  1997.  
  1998.         PRTLOG -L LOG.MB   Will display LOG.MB at the console.
  1999.         PRTLOG -L LOG.MB > LST:  Will put it on the printer.
  2000.         PRTLOG -L LOG.MB > LOG.PRT  Will output to file LOG.PRT.
  2001.  
  2002.         If you leave out the -L field, only the summary is printed.
  2003.  
  2004.     Note that the BBS will now create a file  to hold the BIDs.   Each
  2005.     line includes the date that your system received the message  with
  2006.     that BID.
  2007.  
  2008.     The proper setup parameters for the tnc are in .SET files,
  2009.     TNC1.SET is for tnc1 or clones - converse mode only,
  2010.     TNC2.SET is for tnc2 or clones,
  2011.     PK232.SET is for the PK-232 and PK-87.
  2012.  
  2013.     The file CONFIG.MB is a text file that contains all  site-specific
  2014.     parameters.  Edit it to have the proper parameters for your  site.
  2015.     
  2016.     The default directory must contain MB.EXE and CONFIG.MB
  2017.  
  2018.     The file CONFIG.MB has  sections that specify  what ports to  use,
  2019.     and where to  find various  files.   Ports are  identified by  the
  2020.     first letter of the first line of the port information.  "A" means
  2021.     COM1, "B" means COM2 etc.  "L" means the system console  (keyboard
  2022.     and display).
  2023.  
  2024.  
  2025.     Files used by the MailBox.  - The Mailbox and Gateway
  2026.  
  2027.       MB.EXE      -  The program.
  2028.       HELP.MB     -  The help file. Documents all commands.
  2029.       MBRESTM.EXE -  Used to restore the MAIL.DAT file.
  2030.       CONFIG.MB   -  Configuration data, log-on, error text, ect.
  2031.       INFO.MB     -  The info file about your system setup.
  2032.       FWD.MB      -  The routing tables for forwarding messages.
  2033.  
  2034.     The following files are created and used by the MailBox:
  2035.  
  2036.       MAIL.DAT   - The message database.
  2037.       USER.DAT   - The user database.
  2038.       MON.MB     - The saved "J" lists.
  2039.       LOG.MB     - The log file. A text file that contains the user log.
  2040.                    Which events are to be logged is specified in CONFIG.MB.
  2041.       CALLS.MB   - All calls heard by the MailBox.
  2042.       BID.MB     - The file to store the received BIDs in.
  2043.  
  2044.  
  2045.  
  2046.  
  2047. Chapter 6 -------------- Log, List, & Dis Files ---------------------- Page 1
  2048.  
  2049.                        *** LOG FILE CONTENTS ***
  2050.  
  2051.    Each line in the log file contains an event code, the date and time,
  2052.    followed by further information about the event.
  2053.  
  2054.    'C' - User connected to system.
  2055.       'A' -> 'H' - A user connected on that port.
  2056.       'I' - Program startup.
  2057.       'L' - User was linked via the station that just connected.
  2058.       'S' - "connect" from local console (sysop).
  2059.  
  2060.    'G' - GateWay event.
  2061.       'A' - Connection attempted and failed. Path shown.
  2062.       'C' - Connection attempted and obtained. Path shown.
  2063.       'E' - End of GateWay event, or use.
  2064.       'M' - Start of monitoring.
  2065.       'S' - Start of GateWay use.
  2066.       'U' - Entry to unprotocol mode.
  2067.  
  2068.    'X' - Exit.
  2069.       'A' - Owner put MailBox on line.
  2070.       'B' - User said good bye.
  2071.       'D' - User disconnected.
  2072.       'E' - Excluded user attempted connect.
  2073.       'F' - User forced off by system owner.
  2074.       'Q' - Owner exited from program.
  2075.       'T' - Timeout, forced disconnect.
  2076.  
  2077.    'F' - File event. Command line shown as user entered it.
  2078.  
  2079.    'M' - Message event. Message number always shown.
  2080.       'C'  - Message copied.
  2081.       'E'  - Message header edited.
  2082.       'F'  - Message forwarded. Connect path shown.
  2083.       'FE' - End of forwarding session.
  2084.       'FR' - Start of reverse forwarding within forwarding session.
  2085.       'FS' - Start of forwarding session.
  2086.       'K'  - Message killed.
  2087.       'L'  - Message headers listed.
  2088.       'M'  - Message created from file.
  2089.       'R'  - Message read.
  2090.       'S'  - Message sent, includes TO, BBS and BID fields
  2091.  
  2092.  
  2093.                       *** Distribution File ***
  2094.  
  2095.     The distribution file is a regular ascii file created with  a  simple
  2096.     editor. It consists of a list of calls, one per line. These calls are
  2097.     the broadcast list of what bbs's you want to  get  specific  messages
  2098.     to. These messages will key the distribution file based on the  @ BBB
  2099.     in the message.
  2100.     The name of the distribution file is the same as the @ BBS field used
  2101.     for distribution. All distribution files must end in .DIS and  be  in
  2102.     the message file directory. EXAMPLE - \mb\msgs\pawest.dis
  2103.  
  2104.     EXAMPLE of a .DIS file: PAWEST.DIS <- Name of file
  2105.  
  2106.                KB3UD
  2107.                W3AVK
  2108.                WA3DQI
  2109.                AG3F
  2110.  
  2111.  
  2112.  
  2113. Chapter 6 -------------- Log, List, & Dis Files ---------------------- Page 2
  2114. Dis File (Continued)
  2115.  
  2116.     When a message is created with a @ BBS of PAWEST, the bbs will create
  2117.     a special second header line. EXAMPLE:
  2118.  
  2119.     Msg#  TR  Size  To    From   @ BBS  Date     Title
  2120.     10651 PN  1949 SYSOP  W1AW   PAWEST 870511 New News on BBS's
  2121.         cc: KB3UD W3AVK *WA3DQI AG3F
  2122.  
  2123.     Notice that WA3DQI has a  "*" before  his call.   This means  that
  2124.     this message has already been  forwarded  to WA3DQI.   As the  bbs
  2125.     forwards to the other stations a "*" will appear before each  call
  2126.     as the message is forwarded to them.   When all  the calls have  a
  2127.     "*" before them, the message will be killed.  All stations in  the
  2128.     list will have received  the message.   If  you want  to stop  the
  2129.     message from being killed on  your bbs, you  can include a  phoney
  2130.     call in the list;  Like the  word  HOLD.   Now the  list  contains
  2131.     something like this:
  2132.                           KB3UD
  2133.                           W3AVK
  2134.                           WA3DQI
  2135.                           AG3F
  2136.                           HOLD
  2137.  
  2138.     Since HOLD would not be in your forwarding file, the message would
  2139.     hold on your bbs, until you killed it manually.
  2140.  
  2141.  
  2142.  
  2143.                            *** List file ***
  2144.  
  2145.     A list file is a regular ascii file created with a simple editor.  It
  2146.     is used with the MM - Make Multiple Messages from a File, and  the SM
  2147.     - Send a message to a distribution list. There  are  no  requirements
  2148.     for the names of these files. They must be in the directory that  the
  2149.     mail bbs runs in.  EXAMPLE - \mb\list1.
  2150.  
  2151.     EXAMPLE of a list file: LIST1 <- Name of file
  2152.  
  2153.                SP KB3UD @ KB3UD
  2154.                SP AG3F
  2155.                SP AK3P @ AK3P
  2156.                SP N3DQC @ W3AVK
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179. Chapter 7 ------------------- PROTOCOLS ------------------------------ Page 1
  2180.  
  2181.  
  2182.                    "BBS" FORWARDING PROTOCOL NOTES
  2183.  
  2184.     The following is an attempt to put  down in detail what the "CBBS"
  2185.     MailBox expects as  user input,  and the variations  that will  be
  2186.     accepted by the MailBox code.
  2187.     Forwarding works by  the simple  means of  the forwarding  MailBox
  2188.     acting  as   if  it   were   a  user   of  the   target   MailBox.
  2189.     Thus, it will use the "S" command to enter the message, in exactly
  2190.     the same way that a user does.
  2191.  
  2192.      The "S" command takes the form:
  2193.  
  2194.      "S"["x"] TO ["@" BBS] ["<" FROM] [$#####_K3KKK]
  2195.                  ["@" BBS.ST.USA.NA]
  2196.  
  2197.     The "x" is an  optional message  type character.   The fields  are
  2198.     delimited by any number of spaces  or tabs.   Upper case or  lower
  2199.     case may be used.  TO, BBS, and FROM may be up to six  characters.
  2200.     If a trailing "-" and ssid are given, it  is thrown away.  The  "@
  2201.     BBS" and "< FROM" fields are optional, and may occur in any of the
  2202.     4 possible combinations. The '$' is  not  part  of  the  BID,  but
  2203.     identifies the field. There is no space between the $ and the BID.
  2204.  
  2205.     After receiving the "S" command, the  MailBox prompts for  message
  2206.     title.  The prompt is on one  line, ending with  CR.  The  message
  2207.     title is one line, ending with CR.   The title is truncated to  80
  2208.     characters by the MailBox.  After receiving the message title, the
  2209.     MailBox prompts for the message text.  The prompt is on one  line,
  2210.     ending with CR.   Message text  is a string  of ASCII  characters,
  2211.     ending in control-z.   The  station doing  the  forwarding  simply
  2212.     disconnects  once   it   has   passed   all   of   its   messages.
  2213.     Note that the MailBox prompt is identified by it's terminating ">".
  2214.  
  2215.     Starting with Version 4.4, the C BBS also supports the use of BIDs
  2216.     (Bulletin Identifiers)  and  to   use  them,  it  will,  when   it
  2217.     recognizes a similarly programmed BBS, enter into an exchange with
  2218.     said BBS.  This is according to the protocol developed by  WA7MBL.
  2219.     
  2220.     A BID capable BBS is recognized  by its sending a field  beginning
  2221.     with a '[' and ending with a ']'.  In addition, in the field is at
  2222.     least one '-'.    Anything following  the  LAST '-'  is  taken  to
  2223.     identify features available on that BBS.   The exchange from  this
  2224.     BBS is:
  2225.                   [CBBS-6.0-H$]
  2226.  
  2227.     When the BBS is connected to, it sends [CBBS-$],and if it receives
  2228.     [anything-$], it goes into its MBL-like mode.  It then gives you a
  2229.     prompt and waits  for  your  next  Send  command.   If you receive
  2230.     something like S  ALL $BID001,  it checks  to see  whether it  has
  2231.     received this BID before.  If not, it sends
  2232.  
  2233.        OK - 1234:    (will be message #1234)
  2234.  
  2235.     To which the sender then  sends the title followed immediately  by
  2236.     the message text. If it has that BID, it will send:
  2237.  
  2238.        NO- Already have it:          And then give a new '>'
  2239.  
  2240.      And the distant BBS will then proceed to the next message.
  2241.  
  2242.  
  2243.  
  2244.  
  2245. Chapter 7 ------------------- PROTOCOLS ------------------------------ Page 2
  2246. BID Protocol (Continued)
  2247.  
  2248.  
  2249.     Whether the connecting station is a BBS or not, if a message comes
  2250.     in addressed to something other  than a real  callsign, and is  of
  2251.     TYPE   B  it  is  assigned  a  BID  by  a  parsing   routine.   It
  2252.     finds the BBS of origin, and the  message number on that BBS,  and
  2253.     gives it a BID based on MSG#_BBSCALL ...   It will then check  the
  2254.     BID file and if the  message is  present,  it will  mark  it  hold
  2255.     pending operator  intervention (presumably  you already  forwarded
  2256.     the message.  This works with any system that has the terminal  -$
  2257.     in its [-$] field.
  2258.  
  2259.     The BID.MB file is an ascii text file, with one BID per line.   It
  2260.     can be edited to add or delete BID's as the sysop sees fit.  It is
  2261.     this BID that determine if  a message  with a bid  is accepted  or
  2262.     not.
  2263.  
  2264.                    System IDentifiers (SIDs) - W0RLI
  2265.  
  2266.     The initial exchange  between  "smart" BBS  systems uses  what  is
  2267.     called an "SID", short for System IDentifier.  All future work  on
  2268.     BBS systems should adopt this standard.  It will help to remove  a
  2269.     GREAT deal of confusion  as to which  systems have what  features,
  2270.     and how one  should interface  to  them.   In the  longer  future,
  2271.     perhaps all this junk can be done away with, and the computers can
  2272.     talk to each other in a more natural way.
  2273.  
  2274.          The system identifier is structured:
  2275.  
  2276.          "[f1-f2-f3]"
  2277.  
  2278.     The dashes delimit the end of the first field and the start of the
  2279.     last.  There might  be only  one dash,  if  f2 is  void.   f2  may
  2280.     contain dashes.
  2281.  
  2282.     f1, f2, and f3 may not contain "[" or "]".
  2283.  
  2284.     f1 is the  author identification.    It may  not contain  a  dash.
  2285.     Normally it  will  contain  a  few  characters  from  the  authors
  2286.     callsign.
  2287.  
  2288.     f2 is author specific data.
  2289.  
  2290.     It may contain anything  the author wishes,  for example  software
  2291.     version.  It may contain dashes.
  2292.  
  2293.     f3 is the supported feature set.  It may  not contain a dash.   It
  2294.     contains a  string   of  non-numeric  characters,  one  for   each
  2295.     negotiable feature  supported.    Each  character  may  also  have
  2296.     trailing digits, giving the revision of that feature.  If there is
  2297.     no trailing  digit,   the  feature  revision  is  revision   zero.
  2298.  
  2299.     Coding hint: if the first line seen  at connect to the bbs  starts
  2300.     with [ and ends with ], then it probably  is an SID.  For example:
  2301.  
  2302.       f1_start = fld + 1;
  2303.       f1_end   = strchr(fld, '-') - 1;
  2304.       f2_start = f1end + 2;
  2305.       f2_end   = strrchr(fld, '-') + 1;
  2306.       f3_start = f2_end + 2;
  2307.       f3_end   = strrchr(fld, ']') - 1;
  2308.  
  2309.  
  2310.  
  2311. Chapter 7 ------------------- PROTOCOLS ----------------------------- Page 3
  2312. Sid's (Continued)
  2313.  
  2314.     Defined features are:
  2315.  
  2316.      C - Supports "forwarding" of date and time.
  2317.      H - Supports Hierarchical forwarding.
  2318.      M - Supports Message Identifiers.
  2319.      W - Is a white pages server. (We were thinking about you, Eric!)
  2320.      Y - Supports YAPP binary protocol.
  2321.      $ - Supports BID. MUST BE LAST CHARACTER IN f3 (downward compatibility).
  2322.  
  2323.     The existance  of  the system  ID  also implies  that  the  system
  2324.     supports  reverse   forwarding  and   OK/NO   message   rejection.
  2325.     Some examples of existing standard system identifiers:
  2326.  
  2327.     [RLI-5.12-$]          - w0rli version 5.12, supports BID
  2328.     [RLI-6.08-CM$]        - w0rli version 6.08, supports Clock, MID, BID
  2329.     [CBBS-$]              - CBBS flavor, supports BID.
  2330.     [CBBS-6.0-H$]         - CBBS source versions, supports BID, Hierarchical.
  2331.     [CBBS-4.5-$]          - ve3gyq release of the rli/gyq cbbs.
  2332.     [MBL-$]               - wa7mbl version unknown, supports BID
  2333.     [PRMBS-.98X-345-$]    - ka2bqe rip-off of w0rli cbbs V0.4
  2334.     [CMU-1-W]             - wd6cmu BBS
  2335.     [4RE-01-M$]           - aa4re V1, supports MID and BID.
  2336.  
  2337.     There is some older code still running that requires special  case
  2338.     handling.  In  these cases  there  is no  f3 or  feature  letters.
  2339.  
  2340.     Rule: OK/NO message rejection is required, and BID is supported.
  2341.  
  2342.     [MBL320]           - "old" wa7mbl systems.
  2343.     [MBL=RLI]          - ja0isk port of rli/gyq cbbs for NEC 9800
  2344.  
  2345.         The connect rules:
  2346.  
  2347.     Send the SID as first line at connect.
  2348.     Answer the SID (when seen as a command) with a short command prompt.
  2349.  
  2350.         The fowarding rules:
  2351.  
  2352.     If you do not see an SID at connect, use the old style fowarding.
  2353.     This handles the case of Xerox 820 systems, for example.
  2354.  
  2355.     If you do see an SID at connect, answer with your SID.
  2356.     Use whatever features are appropriate.
  2357.     Special case: MBL3 or MBL= seen at connect.
  2358.     Reply with [MBL-xxx], where xxx is anything you like.
  2359.     Continue with reverse forwarding and OK/NO message rejection.
  2360.  
  2361.  
  2362.            Zip Code Routing Note 1   -   W0RLI   -  7 Sept 87
  2363.  
  2364.     Several people  have   suggested  using  zip  codes  for   routing
  2365.     identifiers.  There are many possible  ways to do  this.  In  this
  2366.     note I outline two  suggestions.   These two  routing schemes  are
  2367.     compatible, and can co-exist on the network at the same time.  Two
  2368.     features are required  in the  BBS code to  support these  routing
  2369.     schemes  properly:  wildcard   capability  in   the  route   table
  2370.     destinations and "@  BBS" replacement.   Either  of these  schemes
  2371.     will help users: they no longer need to know the callsigns of  all
  2372.     the BBS in the world.  Users  need only know the state,  province,
  2373.     region, or zip code of the message destination.
  2374.  
  2375.  
  2376.  
  2377. Chapter 7 ------------------- PROTOCOLS ----------------------------- Page 4
  2378. Zip Routing (Continued)
  2379.  
  2380.  
  2381.     1) Zip code routing for NTS traffic.
  2382.  
  2383.     Use the form "ST nnnnn @ NTSxx" where nnnnn is the destination zip
  2384.     code and xx  is the  state, province,  or region  identifier.   In
  2385.     route tables far  from "xx"  only  the path  toward "xx"  need  be
  2386.     known.  Once the  message reaches  "xx" the  receiving BBS  should
  2387.     remove the "@ BBS" designator.  Routing  will then continue  using
  2388.     the zip code.
  2389.  
  2390.     2) Zip code routing to humans.
  2391.  
  2392.     Use the form "SP call @ zip" or "SP call  @ xx".  These forms  are
  2393.     not ideal.  What should be used is  a form with 3 address  fields.
  2394.     None of the BBS  codes  support this  yet.   The  ideal  form  for
  2395.     routing of personal messages  is  "SP call  @  zip @  xx".    This
  2396.     routing scheme then  would follow  the NTS routing  scheme in  1).
  2397.     Since we do not have a three  adress scheme, the first and  second
  2398.     forms in 2) would be the best available.
  2399.  
  2400.     Some examples of routings that could work now:
  2401.  
  2402.     ST 95060 @ NTSCA
  2403.     This message would end up at kb6irs or n6iya for delivery by NTS.
  2404.  
  2405.     SP W0RLI @ NTSCA
  2406.     This message would go to any of the  eight California HF BBS.   At
  2407.     the California HF BBS the "@  NTSCA" would be removed and  routing
  2408.     would continue in the normal manner to W0RLI.
  2409.  
  2410.     SP VE3FXB @ NTSON
  2411.     The same idea as the previous message.
  2412.  
  2413.     SP VK2AHX @ VK
  2414.     Again, the same idea.  Note that stations that do not have a  path
  2415.     to VK need only  keep the  single identifier "VK"  in their  route
  2416.     tables.
  2417.  
  2418.     SP W0RLI @ 95060
  2419.     With schemes like  this, and  the use  of wildcards  in the  route
  2420.     tables and "@ BBS" replacement tables, only a very few identifiers
  2421.     are required to  cover  the  entire  U.S.   If  this  message  had
  2422.     originated, for example, in  New England, the  BBS in New  England
  2423.     need only have  "9*"  in  it's  route table.    Once  the  message
  2424.     reached, for  example,  KD6SQ,  he  would  have  to  have  several
  2425.     identifiers.  "95*" would send the message from So.  Cal.  to  No.
  2426.     Cal., where the "@  BBS"  would be  removed.   It  would  then  be
  2427.     forwarded directly to W0RLI, since  W0RLI is known  to all BBS  in
  2428.     No.  Cal.
  2429.  
  2430.                        *** MESSAGES ***
  2431.  
  2432.     There are three types of messages:
  2433.  
  2434.     1) Personal.    If sent with SP, or with S and to a callsign.
  2435.     2) NTS Traffic  If sent with ST.
  2436.     3) Bulletins    If sent with SB, or with S and NOT to a callsign.
  2437.                     A BID is included with the message.
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443. Chapter 7 ------------------- PROTOCOLS ----------------------------- Page 5
  2444.  
  2445.  
  2446.     Each type of message gets somewhat different handling:
  2447.  
  2448.     For NTS traffic, the LT, KT, and ET commands are active.
  2449.     For Bulletins, a BID is sent when forwarding to accepted bbs's.
  2450.     For Personal, The message can only be read by the sender, addressee,
  2451.                    and sysop.
  2452.     There are several "flags" associated with each message.  These are
  2453.     shown in  the "message  status"  position in  the  "list  message"
  2454.     display.  Note that each  Flag has an  associated "L" command  and
  2455.     some have associated "K" commands.
  2456.  
  2457.        B - The "Busy" flag:
  2458.  
  2459.            This indicates that a message is busy. Also indicates all
  2460.            duplicate bids and disconnects before message is completed.
  2461.  
  2462.        F - The "Forwarded" flag:
  2463.  
  2464.            This indicates the message has been forwarded to it's
  2465.            destinations, but has not been killed.
  2466.  
  2467.        H - The "Hold" flag:
  2468.  
  2469.            This indicates the message has been held. It will not
  2470.            forward, and can be only killed by the sysop.
  2471.  
  2472.        O - The "Stale" flag:
  2473.  
  2474.            This indicates a message has been around for too long.
  2475.            Time length is determined in the config.mb
  2476.  
  2477.        Y - The "Read" flag:
  2478.  
  2479.            This indicates that the message has been read by the addressee,
  2480.            but has not yet been killed.
  2481.  
  2482.  
  2483.         Message header formats in use at this time include:
  2484.  
  2485.     R:date/timez @:call qth #:nnn O:call S:date/time Z:zzz
  2486.     R:date/timez @:call qth #:nnn O:call S:date/time
  2487.     R:date/timez @:call qth #:nnn O:call Z:zzz
  2488.     R:date/timez @:call qth #:nnn Z:zzz
  2489.     R:date/timez @:call qth #:nnn O:call
  2490.     R:date/timez @:call qth #nnn O:call
  2491.     R:date/timez nnn@call [qth] Z:zzz  <--- Best one to use.
  2492.  
  2493.     1) calls may have ssid
  2494.     2) time may have timezone.
  2495.        If so, may be single char or 3 char.
  2496.        May be upper or lower case, or mixed.
  2497.     3) qth may be enclosed in []
  2498.     4) Space between @ call and qth may be missing
  2499.     5) ":" between field ID and contents may be missing.
  2500.     6) May be space between ":" and field contents.
  2501.  
  2502.     There are many  other forms  seen.   They may  leave out  required
  2503.     information.  They may have the required information in unexpected
  2504.     format.  There is little chance of parsing them all, and no reason
  2505.     to do so.
  2506.  
  2507.  
  2508.  
  2509. Chapter 8 ------------------- DESQVIEW ------------------------------- Page 1
  2510.  
  2511.  
  2512.                SETTING UP MULTIPLE BBS'S WITH DESQVIEW - AG3F
  2513.  
  2514. 1. CONFIG.SYS
  2515.     Create file config.sys in the  root (\) directory with an  editor.
  2516.     As a minimum it it must contain the files and buffers  statements.
  2517.     Other possible additions are  a ram  disk and the  driver for  any
  2518.     installed EEMS boards.   DESQview will  run with  the normal  640K
  2519.     system memory but you  will be  very limited  as to  the size  and
  2520.     number of programs you will be able to use in addition to the  BBS
  2521.     copies.  The following is the config.sys  in use at AG3F where  an
  2522.     AST SixPakPremium  EEMS multifunction  with  1 meg  of  memory  is
  2523.     installed   in   addition   to   256k   of   motherboard   memory.
  2524.  
  2525.                   files=30
  2526.                   buffers=20
  2527.                   device=remm.sys /x=A000-BFFF
  2528.                   device=fastdisk.sys /m=64 /dextm
  2529.  
  2530. 2. INSTALLING DESQVIEW
  2531.     Install DESQview  V2.01  or  later  on the  hard  drive  by  using
  2532.     Quarterdeck's instructions.  In general this will involve  placing
  2533.     the distribution diskette in floppy drive "A" and typing  install.
  2534.     You will be  prompted for  the desired destination  drive and  for
  2535.     your system  configuration.    This  process  will  create  a  \DV
  2536.     directory on the hard drive that will include all of the necessary
  2537.     DESQviev files.    Any  commercial  programs  that  are  known  to
  2538.     DESQview and  were  residing  on  your hard  drive  will  also  be
  2539.     installed for access from  DESQview.   At this  point install  any
  2540.     other programs you desire by using the DESQview instructions.   It
  2541.     is suggested that you run these programs from DESQview and  become
  2542.     familiar with DESQview operation.
  2543.  
  2544. 3. DESQVIEW PARAMETERS
  2545.     From the > prompt in subdirectory DV type SETUP.  This will  bring
  2546.     up the DESQview setup screen.  Select the advanced setup and  when
  2547.     in that window select performance  option.  Change  the number  of
  2548.     clock ticks   to  7  for   foreground  and  background   programs.
  2549.     Experimentation has shown for a  4mhz xt  7 is suitable.   If  you
  2550.     utilize other clock speeds you may have to experiment to find  the
  2551.     best  value  but  in  any  case  both  foreground  and  background
  2552.     operations must be the same  since running multiple copies of  the
  2553.     bbs really  does  not  have  a  background  program.    The  other
  2554.     parameters available for modification were  left at their  default
  2555.     values.
  2556.  
  2557. 4. SUBDIRECTORIES
  2558.     Setup the directory/subdirectory system  for the  mailboxes.   The
  2559.     config's must be different for each window used.  The  files  LOG,
  2560.     MON, and CALLS must be different for each window. It is easier  to
  2561.     just use the port letter as the .ext of each of these  files.  The
  2562.     MAIL.DAT and USER.DAT are shared by all the windows. The FWD  file
  2563.     can be a common file or you can use different files for each port.
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575. Chapter 8 ------------------- DESQVIEW ------------------------------- Page 2
  2576. Subdirectories Continued)
  2577.  
  2578.           \mb
  2579.             mb.exe
  2580.             br3bios.com
  2581.             mbmode.exe
  2582.             hand.com
  2583.             config.a ------ config.b ------ config.c
  2584.           \mb\bbs
  2585.             help.mb
  2586.             info.mb
  2587.             user.dat
  2588.             user.bak
  2589.             fwd.mb
  2590.             mail.dat
  2591.             mail.bak
  2592.             mon.a --------- mon.b --------- mon.c
  2593.             calls.a ------- calls.b ------- calls.c
  2594.             log.a --------- log.b --------- log.c
  2595.           \mb\msgs
  2596.  
  2597. 6. ADDING THE BBS PROGRAM TO DESQVIEW
  2598.     Add the bbs  programs to  DESQview by selecting  add program  from
  2599.     second menu.  Following the prompts add the following information:
  2600.     program name   bbs1                     memory size 102
  2601.     program        mb                       or 150 if using dos commands
  2602.     parameters
  2603.     directory      c:\mb
  2604.     options:
  2605.     writes to screen   [n]
  2606.     displays graphics  [n]
  2607.     can be swapped     [n]
  2608.     requires floppy    [n]
  2609.  
  2610.     TO SELECT ADVANCED OPTIONS  HIT (F1)
  2611.     close on exit      [y]                own colors      [n]
  2612.     close window cmb   [y]                only foregnd    [n]
  2613.     math coprocessor   [n]                kbd conflict    [1]
  2614.     All other parameters are as default.
  2615.     Add the second and subsequent copies of the bbs as above using
  2616.     the proper program names and directorys.
  2617.  
  2618. 7. PORT INITIALIZATION
  2619.    Construct a batch file to execute the necessary port initializations
  2620.    as described previously. The one in use at AG3F resides in the root
  2621.    directory of drive c: and is called startbbs.bat. It is as follows:
  2622.    
  2623.    cd \mb
  2624.    br3bios
  2625.    mbmode com1:48,n,8,1
  2626.    mbmode com2:48,n,8,1
  2627.    mbmode com3:48,n,8,1
  2628.    hand
  2629.    cd \dv
  2630.    copy \mb\bbs\fwd.mb d:
  2631.    fastopen c:
  2632.    dv
  2633.  
  2634.    Notes: 3 ports are used,  br3bios is configured for 3 com ports.
  2635.           Hand is required to handshake between DESQview windows.
  2636.           Copy line places the foward file in ram disk D:  (not necessary)
  2637.           Fastopen (Dos v3.3 only) permits quicker disk access.
  2638.  
  2639.  
  2640.  
  2641. Chapter 8 -------------------- DESQVIEW ------------------------------ Page 3
  2642.  
  2643.  
  2644. 8. CONFIGURATIONS
  2645.     Prepare a config.x for each copy of the bbs.
  2646.  
  2647.  
  2648.  
  2649. 9. STARTING THE BBS MANUALLY
  2650.     From the dos prompt  type STARTBBS  or what ever  you called  your
  2651.     port initialization batch file.  This will load the bios  drivers,
  2652.     run mode on all ports, load  pipe, run any other special  programs
  2653.     and finally invoke DESQview.  You will  now be at the open  window
  2654.     menu of DESQview.   Select open  and then the  first bbs  program.
  2655.     Program #1 will start and occupy the upper 1/2 of the screen.   Do
  2656.     the same with  copy #2  which will  be  in the  lower 1/2  of  the
  2657.     screen.  Other copies  can be  loaded similiarly  and will  occupy
  2658.     screen locations defined  in the  DV setup.   Now  all is  running
  2659.     simultaneously.  You  can  switch, zoom,  blank  or  select  other
  2660.     windows without interrupting the bbs activity.
  2661.    
  2662. 10. AUTOMATIC STARTUP
  2663.     If desired you may arrange the system to reboot and restart up the
  2664.     bbs's if the computer is shut  off or experiances a power  outage.
  2665.     This requires two steps.
  2666.  
  2667.     a. Insert the name of your initialization batch file into your
  2668.        autoexec.bat file.
  2669.  
  2670.     b. Create a DESQview autostart macro.  This is done by assigning a
  2671.        series of key  strokes  to the  !  key while  in  DESQview  but
  2672.        without any application  program running.    Follow  the  learn
  2673.        instructions in your DESQview manual.   The steps  for a 2  bbs
  2674.        seup typically would be:
  2675.  
  2676.        Type DV to start DESQview
  2677.        shift-alt  (select start learn,indicate the ! key and pick name)
  2678.        open window
  2679.        open bbs#1
  2680.        shift-alt  (select time delay  30 )
  2681.        open window
  2682.        open bbs#2
  2683.        shift-alt  (select end learn)
  2684.        quit DESQview and say yes to save scripts
  2685.       
  2686.        The script file produced by the above is desqview.dvs and  will
  2687.        be found in the  Dv  directory.   This  file can  be  made  man
  2688.        readable by using the  program  convscr.com provided with DV. A
  2689.        converted   program    would   look    like   the    following:
  2690.  
  2691.        {Learn ! "boot boards"}
  2692.        om1{Delay 30}{DESQ}om2
  2693.        {Finish}
  2694.  
  2695.        o means open
  2696.        m1 is my 1st bbs program
  2697.        m2 is my 2nd bbs program
  2698.        Learn and Finish are the start  and end of the learn  commands.
  2699.        You can if desired, create a text  file like the above, and  by
  2700.        the use of convscr convert it to desqview.dvs and eliminate the
  2701.        step by step procedure described above.
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707. Chapter 8 ------------------- DESQVIEQ ------------------------------- Page 4
  2708.  
  2709.  
  2710. 11. USING DESQVEIW WITH THE BBS
  2711.  
  2712.     When you are not using the console for watching the bbs, you might
  2713.     want to hide the windows before you shut it down.  To do this  you
  2714.     just hit the 'ALT' key, then 'R' for rearrange, then 'H' for hide.
  2715.     This will blank out the window.  Doing this for all windows before
  2716.     shutting off the console will speed  DESQview up as no display  is
  2717.     taking place.  To get  things back after  turning on the  console,
  2718.     just hit the 'ALT" key and  then the number  key for each  window.
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773. Chapter 9 -------------------- MODEM USAGE --------------------------- Page 1
  2774.  
  2775.  
  2776.  
  2777.                             *******************
  2778.                             *** MODEM USAGE ***
  2779.                             *******************
  2780.  
  2781.  
  2782.  
  2783.         A modem port can be configured for access to the bbs.  It can  be 
  2784.         configured  to  a  port in a non DESQview system, or  it  can  be 
  2785.         configured to a port in a DESQview window that also services  one 
  2786.         or  more  TNCs or it can be configured in a  DESQview  window  by 
  2787.         itself.   The  last case is the best choice since  it  guarantees 
  2788.         that  the bbs will not be busy when you call.  Even though  other 
  2789.         windows may be in use it is still possible to access the messages 
  2790.         because  of the common mail file.  This same window can  also  be 
  2791.         used  from  the local keyboard to permit access to  the  messages 
  2792.         without blocking users or forwarding.
  2793.  
  2794.  
  2795.         The modem must be set up for "quiet" automatic answer at the  de-
  2796.         sired baud rate before it is connected to the bbs software.   Any 
  2797.         of the standard terminal programs can be used to perform this set 
  2798.         up.   It  is important that the modem be able to come up  in  the 
  2799.         proper  mode following a power failure.  Most current Hayes  com-
  2800.         patible modems have a non-volatile memory to store their  parame-
  2801.         ters.  Earlier versions used dip switches.  The important parame-
  2802.         ters are:
  2803.  
  2804.         E0    disable echo of commands
  2805.         S0=n  n is the number of rings before the modem answers
  2806.         Q1    disable result codes
  2807.         &C1   data carrier detect (DCD) only when carrier present
  2808.         &D2   data terminal ready (DTR) required for modem to answer
  2809.  
  2810.  
  2811.         There is no intelligence in the software to issue commands to the 
  2812.         modem.   Check your modem manual for instructions on setting  the 
  2813.         modem to automatic answer "dumb" mode.  The DCD line is the  most 
  2814.         important.   If  the bbs software detects loss of  DCD,  it  will 
  2815.         react the same as for a disconnect from a TNC.
  2816.         
  2817.         The modem port must be initialized by MBMODE the same as for  the 
  2818.         TNC  ports.  No provision is made for baud rate switching in  the 
  2819.         software.   The  port definition line in config.mb  must  have  E 
  2820.         (port requires echo), L (line feed after carriage return), and  S 
  2821.         (raw serial port) specified.  T (TNC with TAPR commands) must NOT 
  2822.         be specified.  The other codes may be set as desired although the 
  2823.         I  (kick off user with illegal call)  code is strongly  recommend 
  2824.         to  help thwart anyone who might stumble across your auto  answer 
  2825.         modem.  A high ring count is also a good idea.  It is not a  good 
  2826.         idea to let users connect to your system via the modem port.  The 
  2827.         software  for  the serial port would have to be  made  much  more 
  2828.         "bullet"  proof for this to be feasible.  Remote control  of  the 
  2829.         bbs is the main use for a modem port.
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839. Chapter 9 --------------------- MODEM USAGE ------------------------- Page 2
  2840. (Continued)
  2841.  
  2842.  
  2843.  
  2844.         Now  for  the secret that I had to study the code  to  determine.  
  2845.         You  call in to the modem and it answers and  absolutely  nothing 
  2846.         happens.   You must type the exact string that a TNC  would  send 
  2847.         when  a connection is made including a valid call sign.  An  SSID 
  2848.         different  from what you use on the TNC ports makes it easier  to 
  2849.         keep track of modem connections.  The string you must send is:
  2850.  
  2851.         *** CONNECTED to WA3TSW-1
  2852.  
  2853.         followed by a carriage return.  Obviously you use your own  call.  
  2854.         If  the I parameter is set and the call sign is not valid,  there 
  2855.         will  not  be any response.  At this point you will  receive  the 
  2856.         same  introduction and prompts that would occur if you  connected 
  2857.         via a TNC.  Operation of the bbs is identical to connection via a 
  2858.         TNC port.  When you are done you can simply hang up.   The  modem 
  2859.         will detect loss of carrier and drop the DCD line.  The  software 
  2860.         will  react  the same as if a TNC user  disconnected  instead  of 
  2861.         using the B command.  You can use the B command before hanging up 
  2862.         but  there will be no response to indicate that anything is  hap-
  2863.         pening.
  2864.  
  2865.  
  2866.         Thanks to WA3TSW for this info on modem operation.
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905. Chapter 10 ------------------ MBRESTM -------------------------------- Page 1
  2906.  
  2907.  
  2908.                       *** USING MBRESTM.EXE ***
  2909.  
  2910.     Restoring a crashed mail.dat file is now easy to do.  With version
  2911.     5.0 and later versions, an invisible  header is now put into  each
  2912.     message text file.  That is, invisible to the bbs.  So all that is
  2913.     needed to restore MAIL.DAT  is the  message text files.   Even  if
  2914.     some of these files are bad, you can still reconstruct a  mail.dat
  2915.     file with the files that you still have.
  2916.  
  2917.     To  run  the  restore  program,  place  MBRESTM.EXE  in  the  same
  2918.     subdirectory as the message files, and then type MBRESTM.  It will
  2919.     check  for   message  files,   check  for   the  inbedded   header
  2920.     information, then sort the message files, and finally creat a  new
  2921.     MAIL.DAT in the same directory.   You will also  be told what  the
  2922.     next message number is, and asked if you want to change it.
  2923.  
  2924.     Now all you  have to  do is  place the  NEW MAIL.DAT  file in  the
  2925.     proper subdirectory using copy,  and the  bbs is now  ready to  be
  2926.     loaded with a reconstructed mail file.
  2927.  
  2928.  
  2929.                 MAIL.DAT -- mail file header format
  2930.  
  2931.      1-2     2       NEXT    Next record to allocate, binary (LAST+1)
  2932.      3-4     2       FIRST   First msg header record, binary (always 1)
  2933.      5-6     2       LAST    Last msg header record, binary (COUNT)
  2934.      7-8     2       NEXTM   Next msg number, binary
  2935.      9-10    2       UNTMSG  Next msg at last untangle, binary
  2936.      11      1       VERSION Mail file version, binary
  2937.      12-13   2       SPARE   Unused
  2938.      14-15   2       COUNT   Number of messages, binary
  2939.      16-21   6       DATE    Date of last untangle  YYMMDD
  2940.      22-25   4       TIME    Time of last untangle  HHMM
  2941.      26-256  231             unused, filled with nulls
  2942.  
  2943.  
  2944.                  MAIL.DAT -- typical message entry format
  2945.  
  2946.      1       1       EXT     Header extension flag or zero
  2947.      2-3     2       RN      Record number
  2948.      4-5     2       READ    Times read in binary
  2949.      6-7     2       NUMBER  Message number in binary
  2950.      8-9     2       SIZE    Message size in binary
  2951.      10      1       TYPE    Message type (Ascii)
  2952.      11      1       ST      Status (01 read, 02 fwded, 04 kill, 08 busy)
  2953.                                     (10 unused, 20 old, 40 hold, 80 bulletin)
  2954.      12-17   6       TO      To, trailing spaces
  2955.      18-23   6       FROM    From, trailing spaces
  2956.      26-29   6       BBS     BBS, trailing spaces
  2957.      30-35   6       DATE    Date  YYMMDD
  2958.      36-39   4       TIME    Time  HHMM
  2959.      40-51   12      BID     BID, trailing NULLS
  2960.      52-131  80      SUBJECT Msg title with trailing NULLS
  2961.      132-227 96      CALL    DIS routing, max 16 calls, 6 chars each
  2962.      228-243 16      FLAG    DIS routing, binary 1 unforwarded, otherwise 0
  2963.      244     1       COUNT   Number of calls in DIS list, binary
  2964.      245-256 12              Unused, filled with binary nulls
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971. Chapter 10 ----------------- MAIL FORMAT ----------------------------- Page 2
  2972.  
  2973.  
  2974.                  INDIVIDUAL MESSAGE FILE HEADER FORMAT
  2975.  
  2976.     All 256 bytes  are  filled  with  nulls to  start  with  and  then
  2977.     replaced with the appropriate values.  Only the area trailing  the
  2978.     message title is left as nulls.
  2979.  
  2980.     Everything except those nulls are ascii. Nothing is left as binary
  2981.     data.
  2982.  
  2983.     All fields are completely filled with the contents of the variable
  2984.     assigned to that area.  If the contents are not big enough to fill
  2985.     the field the extra area is  filled by leading or trailing  spaces
  2986.     (hex 20).
  2987.  
  2988.   POSITION  SIZE    VARIABLE   CONTENT
  2989.  
  2990.      1-5     5       NUMBER   Message NUMBER in ascii, leading spaces
  2991.      6       1                space
  2992.      7       1       TYPE     Message TYPE
  2993.      8       1       ST       STATUS
  2994.      9       1                space
  2995.      10-14   5       SIZE     Message SIZE in ascii, leading spaces
  2996.      15      1                space
  2997.      16-21   6       TO       TO, trailing spaces
  2998.      22      1                space
  2999.      23-28   6       FROM     FROM, trailing spaces
  3000.      29      1                space
  3001.      30-35   6       BBS      BBS, trailing spaces
  3002.      36      1                space
  3003.      37-42   6       DATE     DATE  YYMMDD
  3004.      43      1                space
  3005.      44-47   4       TIME     TIME  HHMM
  3006.      48      1                space
  3007.      49-60   12      BID      BID, trailing spaces
  3008.      61      1                space
  3009.      62-66   5       READ     Times READ in ascii, leading spaces
  3010.      67      1                CR
  3011.      68      1                LF
  3012.      69      1       EXT      Extension FLAG, 0 = cc line absent,
  3013.                                               1 = cc line exists
  3014.                                               2 = Hierarchical list
  3015.      70      1                space
  3016.      71-86   16      FLAGS    cc line flags each corresponding to a line in the
  3017.                                         DIS file that matches the @BBS field.
  3018.                                0 = we have fowarded to this station
  3019.                                1 = we have not fowarded.
  3020.                               If we don't have a cc line, these are 16 spaces.
  3021.      71-XX   XX      HLIST    With EXT = 2 This contains the hierarchical list.
  3022.      XX      1                CR
  3023.      XX      1                LF
  3024.      XX-XX   82      SUBJECT  Message TITLE (80 max), then CRLF
  3025.      XX-254  84               NULLS
  3026.      255     1                CR
  3027.      256     1                LF
  3028.  
  3029.  
  3030.     Thanks to AG3F in helping iron out some of the mysteries of  this.
  3031.     
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037. Chapter 10 --------------- LISTING MESSAGES -------------------------- Page 3
  3038.  
  3039.  
  3040.  
  3041.                       WORKING WITH THE MAIL FILE
  3042.  
  3043.  
  3044.     There are many ways  to list  messages in  the mail  file for  the
  3045.     sysop.  The common method is to just do  a "L" every time you  log
  3046.     into the bbs.  This will list all messages active on the bbs since
  3047.     your last login.  A better method is to use the "LE" command which
  3048.     will  list  ALL  messages   (active  messages,  killed   messages,
  3049.     duplicate bid headers, and disconnect-timeout headers).  In  other
  3050.     words, all message  numbers  in serial  fashion, since  your  last
  3051.     login.
  3052.  
  3053.     Also available to the sysop is the  "LU" command.  This will  list
  3054.     all messages not yet forwarded, and messages to your local  users.
  3055.     It does not list bulletins and gives the  sysop an idea as to  how
  3056.     the bbs is performing on forwards.  You can also get a quick  view
  3057.     of messages addressed to bbs's not  in your forward file and  make
  3058.     the necessary corrections to it.
  3059.  
  3060.     A feature not commonly used is the adding of the ";" as the second
  3061.     or third field of list commands.  The  example - "LE ;" will  list
  3062.     exactly like the "LE"  except extra lines  will appear  containing
  3063.     the BID, if any,  and the  HIERARCHICAL ROUTE.   Not all  messages
  3064.     have bids and, right  now, few will  have any hierarchical  route,
  3065.     but   the    the   listing    is   available    to   the    sysop.
  3066.  
  3067.     Common listings available to users  are also usable to the  sysop.
  3068.     Examples such as "LA" to list  all type A  messages, "LB" to  list
  3069.     all bulletins, "LM" to list  all your own  messages, "LY" to  list
  3070.     all messages that have been  read, "LO" to  list messages the  are
  3071.     stale, "LK" to list  messages that have  been killed, "L@  (call),
  3072.     "L> (call), and "L<  (call) add more  selectivity to the  listing.
  3073.  
  3074.     The "LH" command lists all  messages that are  being held.   These
  3075.     messages are marked hold so that  the sysop can  act upon them  by
  3076.     using the edit message command.   If  any call in  the hold  calls
  3077.     list in the config file matches the TO, FROM, or BBS of a  message
  3078.     it will be marked as hold.   Another  example is if  a message  is
  3079.     received without a bid,  and has  a distribution call  in the  bbs
  3080.     field.  You cannot distribute a message without a bid attached  to
  3081.     that message.
  3082.  
  3083.     There are many other varations  available to the  sysop.  Most  of
  3084.     the two letter commands can also  take a number  after them.   "LE
  3085.     10" will list the last ten messages.  But probably the most  usful
  3086.     commands are the "LE" and "LU"  which show what messages you  have
  3087.     received and what has yet to forward.
  3088.  
  3089.  
  3090.     Additional info may  be found  by looking  at the  "L COMMAND"  in
  3091.     chapter 4, and MESSAGES in chapter 7.
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103. Chapter 11 -------------- ARCHIVE MESSAGES --------------------------- Page 1
  3104.  
  3105.  
  3106.  
  3107.                           ARCHIVING MESSAGES
  3108.  
  3109.  
  3110.       The CBBS code now handles a new method of saving KILLED messages
  3111.     If a sysop wants to save all  killed mail, the  the only thing  he
  3112.     has to do is create a subdirectory called  "KILL" in the  messages
  3113.     subdirectory.  If he wants to save all nts messages, then he makes
  3114.     a subdirectory called "NTS".   For  saving all mail  either to  or
  3115.     from the sysop, he then makes a subdirectory with his call.  (e.g.
  3116.     K3RLI)   You   can   also   make   special   subdirectories   with
  3117.     classifications of any @BBS field, such as, RLIBBS, MBLBBS, ALLPA,
  3118.     ect.  You can use as many subdirectories as you want, and  related
  3119.     classes of mail will be archived into them.
  3120.  
  3121.       So, if you are a traffic manager, and your only  interest is  in
  3122.     saving traffic and service messages,  then you only need create  a
  3123.     subdirectory of "NTS".  If you  are only interested in saving  any
  3124.     dialogue between  you   and  other  users,   then  you  create   a
  3125.     subdirectory with your call sign.  All of these subdirectories are
  3126.     made in the MSGS subdirectory.
  3127.  
  3128.       Another feature is that in each of these subdirectories, a  file
  3129.     called INDEX is created.   This file will  contain the headers  of
  3130.     all the message files archived.  As you add more message files  to
  3131.     the subdirectory, INDEX will have  the new headers appended to  it
  3132.     in serial fashion.  So  you will  have an  INDEX file  of all  the
  3133.     message files in the corresponding subdirectory.  All the archived
  3134.     files, including the INDEX file are  text files, and as such,  can
  3135.     be edited with any text editor.  You  can also copy all the  files
  3136.     from a subdirectory to a floppy, then delete all the files in that
  3137.     subdirectory and start over.  That way the floppy will contain all
  3138.     the archived message files and their corresponding index file.
  3139.  
  3140.      If you create a subdirectory called BUSY, all incomplete messages
  3141.     caused by a timeout or disconnect will  be put in  it.  The  index
  3142.     file from this subdirectory might be handy to see how some  of the
  3143.     paths reflect the quality of forwarding.  Poor paths usually  mean
  3144.     more timeouts and disconnects.
  3145.  
  3146.       Be sure you check the archived messages as you can fill  up  the
  3147.     the disk quite easily on an active  bbs.  A floppy can hold  about
  3148.     111 - 112 directory entries, and will display  an error once  that
  3149.     limit is reached. So you might copy the files off the  bbs  before
  3150.     that limit is reached.
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169. Appendix A ------------------ CHANGES -------------------------------- Page 1
  3170.  
  3171.       Changes from 4.4 to V4.51  Starting 2/18/88
  3172.  
  3173. Removed the pause message whenever the printer is toggled on.
  3174. Log file now logs @bbs field in message entries.
  3175. Log file now logs local message entries.
  3176. Password routine added to insure security of remote sysop.
  3177. Fixed bug in gate: Allowed users to use gateway when G not in config.
  3178. Alternate display of tnc cmds when 123 not in config. Shows port letter
  3179.   as upper case if normal, and lower case if timeout on cmd:.
  3180. Forward timeout field now in port config line. Allows time for tnc to
  3181.   flush out it's buffer on timeout before starting next connect.
  3182. Single header line when using pipe between multiple bbs's.
  3183.  
  3184.       Changes from V4.51 to V4.52  Starting 3/3/88
  3185.  
  3186. Fixed bug in Edit message to add bid to BID file with blank BID.
  3187. Printer now shut off when sysop goes BYE.
  3188. Now only messages with no type to a legal callsign become private.
  3189. Log file now logs Make type messages.
  3190. ":"'s added after Ok and No responses for uniformity.
  3191. User record is updated with next message number only if user does 'L'.
  3192. Added "Are you sure?" to Quit and Untangle commands.
  3193.  
  3194.       Changes from V4.53 to V4.6 10 Starting 6/10/88
  3195.  
  3196. Fixed bug with timeout in forwarding.
  3197. New edit message & edit user format for sysop.
  3198. Transparent mode now changed from edit port parameter.
  3199. Message without a bid at a distribution list put on hold.
  3200. Added Zip to white paper for consistency.
  3201. Fwdcmd now replies done when done for consistency.
  3202. Now match Conn or Disc anywhere in received line.
  3203. Fixed minor bug on DOS operations.
  3204. Received scripts now can be partially matched.
  3205. Waitcmd time now set correctly if using DesqView.
  3206. Check for [...] only for first response on connect.
  3207. Bulletins now considered like type F messages on forwarding.
  3208. Fixed minor bug for bid check in SM and MM commands.
  3209. Fixed generated bid in WP and Service messages.
  3210. Placed tnc in converse mode when sysop talks to user.
  3211. Corrected bugs in transparent mode operation.
  3212. Corrected long standing loging bug.
  3213. Made message auto-BID's 12345_K3XXX for consistency.
  3214. Added NEW DESQview and DoubleDOS flags in config.
  3215. Forwarded traffic not shown to users.
  3216. Stopped *** Invalid Command from other bbs causing messages to be lost.
  3217. Clsmon done at forwarding time.
  3218. Fixed bugs in remote sysop using pipes.
  3219.  
  3220.       Changes to V4.6 to V4.6+ Starting 7/24/1988
  3221.  
  3222. [...] in prompt lines does not reset sid options.
  3223. Added eat in dorev to pick up ending prompt bug.
  3224. Dos commands not done on force forward.
  3225. Fixed remote sysop operations to work properly in trans mode & pipes.
  3226. Changed %d to %u for counting of messages above 32k.
  3227. Better handling of distribution calls in edmsg.
  3228. Switching from converse to transparent mode handled better.
  3229. Misc. small errors corrected.
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235. Appendix A ----------------- CHANGES --------------------------------- Page 2
  3236. (Continued)
  3237.  
  3238.       Changes from V4.6+ to V5.0 Starting 10/9/1988
  3239.  
  3240. Multiuser version using one common mail file between windows
  3241. Version 9 mail file structure.
  3242. Added voids to list headers for duplicate bids and disconnects.
  3243. Added MBIBM functions for handshaking thru HAND.
  3244. Added A and AI for forwarding on all windows by sysop.
  3245. Added setbusy and clearbusy and auto GM for mail compress.
  3246.  
  3247.       Changes from V5.0 to 5.1 Starting 11/11/1988
  3248.  
  3249. Added LOCK function and deleted pipe functions.
  3250. No beacon if the calls for BT is set at 1.
  3251. Deleted p_memory and DoubleDos references.
  3252.  
  3253.       Changes from V5.1 to 5.11 Starting 11/30/1988
  3254.  
  3255. Fixed parsehd() for some non-standard headers from other bbs code.
  3256. Deleted phead and replaced with parsehd.
  3257. Reverse forward does not need port->id match.
  3258. Fixed scripts left after Case E forwarding.
  3259. Disconnect now stops file and message dump to tnc.
  3260. String defined wrong in puser.
  3261.  
  3262.       Changes from V5.11 to V5.2 Starting 1/05/1989
  3263.  
  3264. Added message archiving by subdirectory on GM.
  3265. Fixed readusr to handle GU's.
  3266. Filter control characters from title.
  3267. Fix blank line from BBSMSG ON on retry out exceeded.
  3268. Removed unnecessary logging in forward.
  3269. Added LU command for listing of unforwarded mail.
  3270. @ sub-forward files can now be timed.
  3271. Speeded up forwarding using @ sub files.
  3272.  
  3273.       Changes from V5.2 to 6.0 Starting 2/05/1989
  3274.  
  3275. Added H to sid for hierarchical forwarding.
  3276. Fixed reversing forwarding of same bulletin back to bbs in .DIS list.
  3277. Inbedded header now supports hierarchical list.
  3278. Edit message and edit traffic supports hierarchical list.
  3279. New MBRESTM code to handle restoring hierarchical list.
  3280. Added bid to archived messages.
  3281. Fixed page check for added lines in headers.
  3282. Fixed bug in forward to PBBX mailboxes.
  3283. Quit now clears window busy flag.
  3284. Fixed some serial port bugs.
  3285. H status mail now listed with higher priority.
  3286. Actual bid now shown in busy header with sender's call, also in log.
  3287. Changed format and entry of edit port, edit system.
  3288. Fixed busy call being added to beacon text.
  3289. Added YF display of forward file name.
  3290. Corrected WP file update, and bulletin bid check.
  3291.  
  3292.       Changes from 6.0 to 6.1 Starting 2/17/1989
  3293.  
  3294. Revised parsing routine for send line xxxxx@yyyyy.
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301. Appendix B ------------------ CONFIG.MB ------------------------------ Page 1
  3302.  
  3303.           SAMPLE CONFIG.MB for single port:
  3304.  
  3305. A123UDTIX   360 20 600 100 10 2 53 6 15
  3306. -> 145.01 Mhz.
  3307. LCUDE       300 10 600 100 10 0 53 8 15
  3308. -> Stations Connected
  3309. *** EOF
  3310. ADU
  3311. C:\oscar\
  3312. --> Amsat / Oscar
  3313. BDU
  3314. C:\files\
  3315. --> General information
  3316. CDU
  3317. C:\cuser\
  3318. --> Commadore 64 Users
  3319. DDU
  3320. C:\nts\
  3321. --> NTS \ ARES / RACES
  3322. FDU
  3323. C:\arrl\
  3324. --> ARRL / W5YI Material
  3325. GDU
  3326. C:\gateway\
  3327. --> Gateway Newsletters
  3328. HDU
  3329. C:\hamfest\
  3330. --> Hamfests and Related EVENTS
  3331. MDU
  3332. C:\map\
  3333. --> Packet MAPS
  3334. NDU
  3335. C:\net\
  3336. --> Net/Rom Information
  3337. *** EOF
  3338. K3RLI
  3339. NEPBBS PAWEST
  3340. NEPBBS PAEAST
  3341. *** EOF
  3342. hold
  3343. *** EOF
  3344. Hello $I, Welcome to the $O MailBox from $W in $Q
  3345. Last logged at $Y on $X.
  3346. Type H for help, L to list new messages.
  3347. *** EOF
  3348. $O>
  3349. $D/$T, $L, $N msgs>$H
  3350. $U de $O: at $Tz on $D ?,B,C,D,H,I,J,K,L,M,N,P,R,S,T,U,V,W >
  3351. K3RLI
  3352. Wilkes-Barre, Pa
  3353. WD6CMU
  3354. C:HELP.MB
  3355. C:INFO.MB
  3356. \mb\bbs\FWD.MB
  3357. \mb\bbs\LOG.A (For other windows use LOG.B, ect)
  3358. \mb\bbs\MON.A (For other windows use MON.B, ect)
  3359. \mb\bbs\MAIL.DAT
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367. Appendix B ------------------ CONFIG.MB ------------------------------ Page 2
  3368. (Continued)
  3369.  
  3370.  
  3371. \mb\bbs\MAIL.BAK
  3372. \mb\bbs\USER.DAT
  3373. \mb\bbs\USER.BAK
  3374. \mb\msgs\
  3375. \mb\BID.MB
  3376. \mb\bbs\CALLS.A (For other windows use CALLS.B, ect.)
  3377. 10  (Max # of Calls in calls.mb)
  3378. YES 02 (Autocompress [GM] mail file at XX hour)
  3379. YES (Using DESQview = YES)
  3380. YES (Prompt name)
  3381. YES (Prompt bbs)
  3382. YES (Prompt zip)
  3383. YES (Turn on logging)
  3384. YES (Log GateWay events)
  3385. YES (Log file transfers)
  3386. YES (Log message events)
  3387. NO (Log local events)
  3388. F (Control char to kick user off system)
  3389. E (Control char to return from talk mode)
  3390. E (Control char to interrupt user and talk)
  3391. E (Control char to interrupt idle MailBox and get local menu)
  3392. Any key to continue, Q to Quit.$H
  3393. $S ($W) is using the MailBox.
  3394. $R tried to connect.
  3395. Please stand by, $W would like to talk to you.
  3396. Hang on one minute, I will page $W.
  3397. $W did not answer, you might leave a message to K3RLI in the MailBox.
  3398. $S ($W) would like to talk to you.
  3399. The GateWay is not available.
  3400. You are linked to the other TNC. ^W returns to menu.
  3401. Attempting the connection on $F. ^W will abort.
  3402. Connection not established.
  3403. Connection established. ^W to disconnect.
  3404. Connection aborted.
  3405. You are listening to $F. Type anything to return to menu.
  3406. Enter TITLE for message:
  3407. Enter message #$C, ^Z (CTL-Z) to end:
  3408. You have new mail, $I, Type R <space> Msg# to read it:
  3409. Msg#  TR  Size  To    From   @ BBS  Date/Time     Title
  3410. R:$J/$Kz $M@$O [$Q] Z:18702
  3411. Mail file empty.
  3412. Untangling Mail.
  3413. *** Killed message $M
  3414. New TO or <cr> to retain:
  3415. New @ BBS or <cr> to retain:
  3416. New TITLE or <cr> to retain:
  3417. New TYPE or <cr> to retain:
  3418. *** Sorry, That is not a NTS Traffic Message.
  3419. 10  (Max calls in BT list, 1 = no beacon )
  3420. 40  (Max bbs with msg to fwd to)
  3421. YES (Kill regular message after forward)
  3422. NO  (Kill type F & B message after forward)
  3423. YES (Generate svc msg on KT)
  3424. YES (Enable ET Command)
  3425. 30  (Age of bulletin messages when marked as stale, days)
  3426. 5   (Age of NTS messages when marked as stale, days)
  3427. 10  (Age of User Messageswhen marked as stale, days)
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433. Appendix B ------------------ CONFIG.MB ----------------------------- Page 3
  3434. (Continued)
  3435.  
  3436.  
  3437. Send the file, ^Z (CTL-Z) to end.
  3438. N_Name
  3439. Compressing the user file.
  3440. --Call   Date Time Logd   Msg Hm BBS I PLBEDSK  Name        Zip
  3441. EDIT:   Y to delete, Q to Quit    <cr> to retain:$H
  3442. *** Please Enter N (name) to enter your name.
  3443. *** Please Enter NH (call) to enter the BBS where you get your mail.
  3444. *** Please Enter NZ (zip) to enter your ZIP code.
  3445. *** MailBox can't do it, probably a hardware problem.
  3446. *** None Found
  3447. *** Not your message.
  3448. *** There is alreay a file with that name.
  3449. *** Sorry - Timeout!!! -
  3450. *** What?
  3451. *** Done
  3452. *** No such Port.
  3453. *** No such Directory.
  3454. *** File not found: $H
  3455. *** Message not found.
  3456. *** Port is in use.
  3457. PASSWORD goes here -- 64 characters ----
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.  
  3485.  
  3486.  
  3487.  
  3488.  
  3489.  
  3490.  
  3491.  
  3492.  
  3493.  
  3494.  
  3495. --EOF--
  3496.